Skip to content

Commit ddb7992

Browse files
committed
Add a missing link to the latest til.
1 parent 46a4009 commit ddb7992

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

javascript/enable-es7-transforms-with-react-rails.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Enable ES7 Transforms With react-rails
22

3-
The [`react-rails`]() gem adds JSX and ES6 transforms to the asset pipeline.
4-
By using `.js.jsx` and `.es6.jsx` extensions with relevant files, the asset
5-
pipeline will know to make the appropriate transformation when compiling
6-
application assets. ES7 transforms are not enabled by default, but can be
7-
configured. Add the following to the `config/application.js`
8-
file to allow ES7's *class properties* syntax:
3+
The [`react-rails`](https://github.com/reactjs/react-rails) gem adds JSX and
4+
ES6 transforms to the asset pipeline. By using `.js.jsx` and `.es6.jsx`
5+
extensions with relevant files, the asset pipeline will know to make the
6+
appropriate transformation when compiling application assets. ES7 transforms
7+
are not enabled by default, but can be configured. Add the following to the
8+
`config/application.js` file to allow ES7's *class properties* syntax:
99

1010
```ruby
1111
config.react.jsx_transform_options = {

0 commit comments

Comments
 (0)