Gerard Sans
1 min readApr 19, 2019

--

The router is driving the behaviour for navigation. This is parsing the url, matching a route, depending on your setup destroying the current route component and then creating the target route component. Animations work on top of this. If you look at the final solution provided at the top you can see how to deal with this process without any issues.

But yeah, if the user navigates, the default behaviour is to destroy the current route component so it can replace it with the new one. That’s exactly how navigation works.

--

--

Gerard Sans
Gerard Sans

Written by Gerard Sans

Helping Devs to succeed #AI #web3 / ex @AWSCloud / Just be AWSome / MC Speaker Trainer Community Leader @web3_london / @ReactEurope @ReactiveConf @ngcruise

No responses yet