I like the idea of resolver
s.
You can say that:
This is why I would use a resolver:
myapp.com/lists
, navigate to one element of the list myapp.com/lists/1
, showing the details of that element, no need to fetch the data, already done by the search. Then let suppose you navigate directly to myapp.com/lists/1
you need to fetch and then navigate to the componentThink to the resolver as a middleware between your app and your component, you can manage the loading view in the parent component, where
is included.