chenglou / react-motion

A spring that solves your animation problems.
MIT License
21.71k stars 1.15k forks source link

chenglou/react-motion#507 performance-now update #509

Closed penx closed 6 years ago

penx commented 6 years ago

Update performance-now to ^2.1.0

react-motion has a dependency of performance-now@^0.2.0

It also has a dependency on raf@^3.1.0 which currently resolves to raf@3.4.0

raf@3.40 has a dependency on performance-now@^2.1.0

This means that including react-motion as a dependency introduces 2 major versions of raf.

chenglou/react-motion#507

eaglus commented 6 years ago

Please merge this PR into main branch, because now our project has multiple performance-now versions: 0.2.0, and 2.10, this is very bad for us!

sgrishchenko commented 6 years ago

Yes, this is a good improvement.

lpagliari commented 6 years ago

Hi, guys, do you have any updates on this? It is affecting our project too. Thanks!!

chenglou commented 6 years ago

Merged

roderickhsiao commented 5 years ago

Thanks all @chenglou would you mind to help release npm version for the fix? Or we are expecting more features to be released in the next version?

Thanks

chenglou commented 5 years ago

There hasn't been a release for a while now, and I kinda lost track of whether there were some breaking changes in-between. cc @nkbt @TrySound ?

roderickhsiao commented 5 years ago

https://github.com/chenglou/react-motion/commits/master Seems all build related code changes, nothing directly related to the core library itself.

roderickhsiao commented 5 years ago

Oh there is two commit before this