You can control what version of React.js (and JSXTransformer) is used by react-rails:
- Use the bundled version that comes with the gem
- Drop in a copy of React.js
| Gem | React.js |
|---|---|
| master | 0.14.6 |
| 1.6.2 | 0.14.6 |
| 1.6.1 | 0.14.6 |
| 1.6.0 | 0.14.6 |
| 1.5.0 | 0.14.3 |
| 1.4.2 | 0.14.2 |
| 1.4.1 | 0.14.0 |
| 1.4.0 | 0.14.0 |
| 1.3.3 | 0.13.3 |
| 1.3.2 | 0.13.3 |
| 1.3.1 | 0.13.3 |
| 1.3.0 | 0.13.3 |
| 1.2.0 | 0.13.3 |
| 1.1.0 | 0.13.3 |
| 1.0.0 | ~> 0.13 |
| 0.13.0.0 | 0.13.0 |
| 0.12.2.0 | 0.12.2 |
| 0.12.1.0 | 0.12.1 |
| 0.12.0.0 | 0.12.0 |
You can also provide your own copies of React.js and JSXTransformer. Just add react.js or JSXTransformer.js (case-sensitive) files to the asset pipeline (eg, app/assets/vendor/).