1 min readFeb 19, 2020
Did not realize component
causes a full remount each time, thanks!
render
is also great when you need to pass custom props or create a HOC on top of a Route. For example, an authorization route or an animated route.
Have you used children
before? Since it renders regardless of a matching path I’m thinking it might be great for navigation bars that need to animate when pages transition.