Skip to content

How do I add loading and failure states to an asynchronous routing component? #1696

Closed Answered by posva
Autumn-one asked this question in Help and Questions
Discussion options

You must be logged in to vote

The router provides different hooks into the navigation process: beforeEach, afterEach, and onError should provide the information you need.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1695 on February 14, 2023 07:16.