thomasboyt / react-spin

React component wrapper for spin.js
27 stars 23 forks source link

Treat warnings due to React v15.5 #16

Open ThomasJuster opened 7 years ago

ThomasJuster commented 7 years ago
Warning: ReactSpinner: 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.
ThomasJuster commented 7 years ago

use createReactClass from pkg 'create-react-class' Also use the prop-types package

captDaylight commented 7 years ago

hey everyone, I published my fork what I have at react-tiny-spin. I'll maintain it from there :)

mccambridge commented 7 years ago

@captDaylight your docs still instruct users to import react-spin ;)

captDaylight commented 7 years ago

@mccambridge ha, thanks, just update it ! and I added issues to the repo

techrah commented 6 years ago

If you are getting PropTypes warnings, try react-spinjs-fix