Closed timkendall closed 6 years ago
Actually need to handle the case when an async route fails as well.
Hey @timkendall, any updates on this? I wouldn't like to bake this in the router, but if it works in all cases I would love to include it.
@kitze No updates on my end. Honestly it's your call. Haven't really used it enough to consider it "battle-tested". Idk if it's worth putting it in behind an experimental feature flag that consumers can enable if they choose?
Our team really needs this feature.
This has been implemented in another PR.
This PR adds the ability to have asynchronous
beforeEnter
andbeforeExit
route hooks. There is an edge case that should possibly be addressed by this PR before merging - the case being when another transition happens before a previous async transition has been resolved.Please give feedback!