The error that occurred in the child component remains in the parent when routing. #780
Unanswered
Wondermarin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
When an error occurs in a child component, it persists in the parent component, even when the route is changed.
The error disappears if you switch to another route twice.
Example.
In the example, you can see that when you go to the
Sub
page, an error occurs, then when you go back to theMain
page, the page itself should be displayed, but instead an unhandled error from the previous page is displayed. If you try to go to theMain
page again, the error will disappear.Beta Was this translation helpful? Give feedback.
All reactions