Error propagating to parent routes
Given this structure:
If an error happens in
I'd expect that the parent error component wouldn't show up if its children route has errors.
I've tried
And i've tried unnesting the
Am I missing something or is this expected behavior?
If an error happens in
/posts/$id and in its errorComponent we navigate to /posts, now the /posts 's errorComponent will show up.I'd expect that the parent error component wouldn't show up if its children route has errors.
I've tried
reset() before navigating away from /posts/$idAnd i've tried unnesting the
/posts/$id route following this tutorial.Am I missing something or is this expected behavior?
TanStack Router supports a number of powerful routing concepts that allow you to build complex and dynamic routing systems with ease.
The Root Route
The Root Route
