S
SolidJS

support

Navigating to `//` causes an error to be thrown.

Vvxern7/28/2023
Using @solidjs/router, getting a SyntaxError when navigating to a path //, expected to resolve to a NotFound page.
<Router>
<Routes>
<Route path="/" component={Home} />
<Route path="*" component={NotFound} />
</Routes>
</Router>
<Router>
<Routes>
<Route path="/" component={Home} />
<Route path="*" component={NotFound} />
</Routes>
</Router>
Vvxern7/28/2023
Vvxern7/28/2023
// is a valid URL path.

Looking for more? Join the community!