How do you show default/not-found route when using nested routes? #302
Unanswered
alexstanbury
asked this question in
Q&A
Replies: 1 comment
-
Hey, sorry for the delay. We've just published v3.0.0-rc.1 with native support for nested routing. Hope it helps to resolve your issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See here
https://codesandbox.io/s/wouter-demo-nested-routes-forked-l237gk?file=/src/index.js:1271-2883
If you type a nonsense url that doesn't match anything, the default route doesn't show. Remove the nested route component and it does.
Beta Was this translation helpful? Give feedback.
All reactions