Reach Router error when using client-only routes: Children of <Router> must have a 'path' or 'default' prop
#30638
Unanswered
dungle-scrubs
asked this question in
Help
Replies: 1 comment
-
UpdateI have no idea why, but it seems that adding a This is my working code:
Is this actually required, or am I missing something important? The docs I'm reading don't reflect this. Thanks |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm following a couple of guides telling me to do the same thing in order to set up a basic client-only route in Gatsby but am running into trouble with
@reach/router
.Expected result
It should properly load and create working client-only routes
Actual result
I'm getting this error:
I'm confused and stuck at this point because I'm including the
path
propEnvironment
Beta Was this translation helpful? Give feedback.
All reactions