We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e5ded5 + bf217f4 commit 762ce01Copy full SHA for 762ce01
README.md
@@ -332,6 +332,14 @@ Component = React.createClass
332
`<ExampleComponent videos={this.props.videos} />`
333
```
334
335
+Alternatively, the newer ES6 style class based syntax can be used like this:
336
+
337
+```coffee
338
+class Component extends React.Component
339
+ render: ->
340
+ `<ExampleComponent videos={this.props.videos} />`
341
+```
342
343
## Extending `react-rails`
344
345
You can extend some of the core functionality of `react-rails` by injecting new implementations during configuration.
0 commit comments