solid-router
solid-router copied to clipboard
A universal router for Solid inspired by Ember and React Router
### Describe the bug Using a RouteLoadFunc, the component is always expected to be a `Component`; the inferral of the RouterSectionProps generic T seems to fail. ### Your Example Website...
### Describe the bug On ***some*** of the environments my app is being run on, the entire routing system fails to work, throwing an error in console: ``` Unhandled Promise...
### Describe the bug If you throw a redirect from a server function wrapped in createAsync it does not handle the redirect nor serialize it across. Server functions called as...
### Describe the bug When client-side navigating to a different route, the `window.location` property still holds the data for the previous route. This means that any components using this data...
Proposed updates to Router APIs... Mainly rename `cache` to `query` Also add the `onComplete` API to submissions. That I brainstormed here: https://hackmd.io/@0u1u3zEAQAO0iYWVAStEvw/ry9vVctJkg
### Describe the bug When you click A, B or C route and then hit back navigation sometimes router navigates back to A even thought it should navigate to /....
### Describe the bug ```jsx function App() { return ( ) } ``` ```jsx const MainPage = (props) => { const navigate = useNavigate(); const OnSelectNavigate = (name, data) =>...
### Describe the bug I have this route setup currentlly: ```jsx ``` Using `http://localhost:5173/#/$test` works, using `http://localhost:5173/#/!test` works but using `http://localhost:5173/#/#test` causes the `roomId` param to be undefined when using...
### Describe the bug In the Stackblitz, a component uses `` to only show content once a resource has loaded. If that resource's `Promise` rejects, _all_ routes cannot render anymore....
currently when the inner function of createAsync's inner function throws after an arg has updated, the error will not be caught by the closest ErrorBoundary that wraps the accessor. It...