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.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/
).