Kris Guzman
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.

--

--

Kris Guzman
Kris Guzman

Written by Kris Guzman

Front end developer. On a mission to explore the world & build amazing software. Connect with me on LinkedIn: https://www.linkedin.com/in/kristopher-guzman/

No responses yet