Is there any way to check if a route is in transition? I need to add a loading state to a view while the model is being fetched.
I've found several different answers but none seem to work. Wondering if there's a canonical/idiomatic approach to this.
Is there any way to check if a route is in transition? I need to add a loading state to a view while the model is being fetched.
I've found several different answers but none seem to work. Wondering if there's a canonical/idiomatic approach to this.
Give a look in that gist, it have some usefull information about how to create a global loading, or just for one route