Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48976

beforeRouteUpdate not fired when indirectly loading same route?

$
0
0

I’m not sure what should be the expected behavior with beforeRouteUpdate.

It does get called if I add a router-link to my component with the same route and changed parameters.

However, if I go to my route, then back to homepage, then back to my route with changed parameters, it’s not called.

My assumption would be that it would get called so I can rerender my component, since a cached component is loaded with data related to the previous parameters.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48976

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>