Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,14 @@ Component = React.createClass
`<ExampleComponent videos={this.props.videos} />`
```

Alternatively, the newer ES6 style class based syntax can be used like this:

```coffee
class Component extends React.Component
render: ->
`<ExampleComponent videos={this.props.videos} />`
```

## Extending `react-rails`

You can extend some of the core functionality of `react-rails` by injecting new implementations during configuration.
Expand Down