solid-router
solid-router copied to clipboard
A universal router for Solid inspired by Ember and React Router
### Describe the bug When you use `useBeforeLeave` multiple times, each listener receives a copy of the event, therefore an early listener cannot know if a later listener did call...
### Describe the bug When I use useCurrentMatches with the FileRouter and nested paths, I only get one match, i.e. `['test1/test2/test3']` instead of `['test1', 'test2', 'test3']` ### Your Example Website...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
this patch is currently being dogfooded in a real world application ([PetScanner's web app](https://petscanner.com/app)) as it says in the title, I found another place where headers weren't being preserved
There is no way for us to know if these params is obligated or optional from the input. So it is safer to assume that they can be undefined.
Fixes #519
The `@solidjs/router` API hasn't changed for about a year (since the SolidStart v1), same as Solid Meta, so it seems reasonable to stabilize the current api surface, and keep following...
### Describe the bug I create routes like this ``` { path: "/", component: (props) => ( {props.children} ), children: [ { path: "", component: Page, }, { path: "test",...
### Describe the bug ```js "foo" in useParams() // always evaluates to false "foo" in { ...useParams() } // can evaluate to true or false ``` I assume this has...
### Describe the bug The expected usage of `query()` with SolidStart's `"use server"` looks something like this: ```js const getUser = query(async (email: string) => { "use server" // `email`...