diff --git a/README.md b/README.md index 8ba38f2e0..d31aeecd1 100644 --- a/README.md +++ b/README.md @@ -323,6 +323,14 @@ Component = React.createClass `` ``` +Alternatively, the newer ES6 style class based syntax can be used like this: + +```coffee +class Component extends React.Component + render: -> + `` +``` + ## Extending `react-rails` You can extend some of the core functionality of `react-rails` by injecting new implementations during configuration.