You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To match the Preact & Inferno Template, we should use Class x extends React.Component for creating a React Component instead of React.createClass({}).
In the near future React.createClass({}) will be replaced with Class x extends React.Component. See https://facebook.github.io/react/blog/2015/03/10/react-v0.13.html
The text was updated successfully, but these errors were encountered:
I think we should do this when/if we drop the react-transform Babel plugin in favour of the latest React Hot Loader, which AFAIK supports patching methods defined as class properties for binding.
To match the Preact & Inferno Template, we should use
Class x extends React.Component
for creating a React Component instead ofReact.createClass({})
.In the near future
React.createClass({})
will be replaced withClass x extends React.Component
. See https://facebook.github.io/react/blog/2015/03/10/react-v0.13.htmlThe text was updated successfully, but these errors were encountered: