DEV Community

Discussion on: Explore Angular Router's runGuardsAndResolvers

Collapse
 
juristr profile image
Juri Strumpflohner

Hey Maxime. I totally agree. I've rarely used resolvers, especially not to block the transition, maybe just to kick of the loading which will then be picked up by the component.

I mostly just transition to the component which then takes care of loading the data, and in case show a ghost element in between or something. Everything else usually hurts the user experience as you said