Skip to content

How to recover from failure in switching lazy loading routes? #1864

Closed Answered by posva
mengdu asked this question in Help and Questions
Discussion options

You must be logged in to vote

use the router.onError() hook to detect these errors and handle it the way you prefer, e.g. reloading the page

Replies: 1 comment

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 #1863 on May 25, 2023 14:32.