It’s possible to use React Transition Group for transitions between pages. This can be a clever and useful boost to overall user experience in your app. In this lesson, we’re going to transition between pages using React Transition Group and React Router 4.
componentWillReceiveProps
componentWillReceiveProps
Yes, it looks like componentWillReceiveProps
was deprecated— just one thing to look out for in this clip. The React team has some recommended workarounds in their documentation though. UNSAFE_componentWillReceiveProps()