Lapple / react-transitive-number

React component to apply transition effect to numeric strings, a la old Groupon timers
213 stars 21 forks source link

`React.createClass` is deprecated and will be removed in version 16 #14

Closed klaasman closed 7 years ago

klaasman commented 7 years ago

React provides a drop-in replacement create-react-class

NeXTs commented 7 years ago

@Lapple Hey Aziz, please spend a minute to accept and publish this PR.

It's quite important for those of us who want to migrate to react v16

soneymathew commented 7 years ago

thanks for this https://www.npmjs.com/package/react-transitive-number-v16

Lapple commented 7 years ago

Hi, @NeXTs, @soneymathew, @klaasman, my bad for leaving this for so long. Will release a new minor in a minute.

klaasman commented 7 years ago

It has only been 5 months, no worries ;-)

Did you see my question about the peer dependency?

Lapple commented 7 years ago

😄 things move slow in unmaintained projects. I think it works either way, npm would flatten the dependency into peer should it be used in multiple React plugins, right?

klaasman commented 7 years ago

Well, I'm not really familiair with the npm ecosystem, hence the question ;-)

My understanding of a peer dependency is that it isn't automatically installed, but should be installed by its dependent.