solid-router
solid-router copied to clipboard
A universal router for Solid inspired by Ember and React Router
This PR adds a new `useMatches` hook which exposes the router's matches. ## Usecase I think this is very useful for implementing a breadcrumb system. Our pages have something along...
### Describe the bug In **@solidjs/router 0.13.1**, using `useIsRouting()` inside the root component would yield **false** now it yields **true** and the markup for this result is sent to the...
### Describe the bug I'm doing SSR with hono, I use both **renderToStringAsync** from solid-js/web and **Router** from @solidjs/router in the pages I want to render on the server. I...
### The problem I develop a PWA mobile-first application based on solid start. I liked the prefetch behaviour while debugging the app in my laptop environment, so when you hover...
### Describe the bug Matching a segment is taking ~45 ms due to localeCompare. This only happens when deep linking - the base route doesn't have an issue. ### Your...
A few times I've called the actions and taking a bit to figure out this was the case, so I decided to add an error message that might be helpful...
# Summary This PR does 2 things: - better method detection for action. If the formmethod attribute is present, use it instead of the form element. - add a Form...
This PR adds basic support for Parallel Routes, a feature I've only seen in Next.js. The following is my reasoning for why Solid Router should support them, but I think...
### Describe the bug Given this code: ```tsx import { Title } from '@solidjs/meta'; import { RouteDefinition, cache, redirect } from '@solidjs/router'; import Counter from '~/components/Counter'; let isLoggedIn = false;...
### Describe the bug # Description I'd like to use power of JSX + Server Actions with making universal Web Components running anywhere, so I decided to try **Solid Elements**...