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 139 forks source link

Update to React version 17.X? #122

Open finnmerlett opened 3 years ago

finnmerlett commented 3 years ago

Would love to use this package, but my React version is 17.0.1 (I'm using the latest version of Create React App). I'm gonna fork the package and update it for now, but it would be great to have it supported directly.

finnmerlett commented 3 years ago

If anyone else has this issue, here is the updated package on my github: https://github.com/finnmerlett/react-router-transition. Looks like a dependency it had, react-motion, is also semi-abandoned, and I had to replace it with the updated version someone had published to npm.

I've made a pull request for the updated version :smile: if anyone else visiting wants the updated version before/if the MR doesn't get accepted, you can npm-install it direct from my github repo fork (the build branch). Just uninstall the npm-hosted version and run npm install finnmerlett/react-router-transition#build

Amazingly this install-direct-from-github functionality is built right into npm!!

Do be aware that I will delete my github repo if this package gets updated, so either keep a close ear out for updates on this thread and switch back when necessary - or simply fork my branch to you own github.

sviatoslav-lirsoft commented 3 years ago

+1

marklai1998 commented 3 years ago

I've been following this repo issuse for a while seems this repo not active

I've moved to use react transition group https://reactcommunity.org/react-transition-group/