Closed xavruss closed 3 years ago
Which version of react-router-transition
are you using? TransitionMotion
is from a transitive dependency, react-motion
–the latest version should contain the prefixed lifecycle method name.
my version is "react-router-transition": "^ 2.1.0", I am also surprised, my version of react is 17, and to install router-transition I used the --legacy-peer-deps flag I guess that was it. sorry for the late reply and my bad english
react-dom.development.js:67 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
npx react-codemod rename-unsafe-lifecycles
in your project source folder.Please update the following components: TransitionMotion