maisano / react-router-transition

painless transitions built for react-router, powered by react-motion
http://maisano.github.io/react-router-transition/
MIT License
2.59k stars 138 forks source link

React.createClass is deprecated #47

Closed ebhoren closed 7 years ago

ebhoren commented 7 years ago

I had this warning when running react-router-transition in React 15.5.4.

Motion: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Thanks

maisano commented 7 years ago

@ebhoren this is already done https://github.com/maisano/react-router-transition/pull/41