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

Rewrite using hooks #110

Closed maisano closed 4 years ago

maisano commented 4 years ago

There have been a few issues where folks have brought up componentWillReceiveProps being deprecated. It's probably time for a rewrite, so I ported the class components over to use hooks.

When this lands, I'll bump the major to 2 as this breaks back-compat for React.

Other changes: