altjs / utils

A collection of utils for alt.js
37 stars 25 forks source link

connectToStores - createClass is deprecated on react 16 #25

Open fluse opened 7 years ago

fluse commented 7 years ago

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.

linchen2chris commented 7 years ago

You're using React 15.5.x. I am confusing that will alt-utils upgrade any more.

nzbart commented 7 years ago

Are there any plans to resolve this, or will we need to remove Alt from our app when React 16 is released?

mwbennett commented 6 years ago

+1 on this -- any other solutions that work with React v16?

fluse commented 6 years ago

you can use this

https://www.npmjs.com/package/alt-store-connect