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.
1 parent 0573ae2 commit bf217f4Copy full SHA for bf217f4
README.md
@@ -323,6 +323,14 @@ Component = React.createClass
323
`<ExampleComponent videos={this.props.videos} />`
324
```
325
326
+Alternatively, the newer ES6 style class based syntax can be used like this:
327
+
328
+```coffee
329
+class Component extends React.Component
330
+ render: ->
331
+ `<ExampleComponent videos={this.props.videos} />`
332
+```
333
334
## Extending `react-rails`
335
336
You can extend some of the core functionality of `react-rails` by injecting new implementations during configuration.
0 commit comments