0

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.

Sam Selikoff
  • 12,366
  • 13
  • 58
  • 104

1 Answers1

1

Give a look in that gist, it have some usefull information about how to create a global loading, or just for one route

Marcio Junior
  • 19,078
  • 4
  • 44
  • 47