react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
How can I throw redirect from inside a closure that was created inside a loader?

Different pending routing behavior between <Navigate /> and navigate({...})
<Outlet /> in my application which controls a stepper flow, the content below is what is rendered by the deeper <Outlet />.
Only the <Navigate /> component renders the inner <Outlet /> as null for a moment causing a weird visual appearance.
```...
_ underscore dynamic paths - are not resolving
/post/$postId => nanoId string that contains _ (underscore)
Router can't find matching routes...View transition overflow
Selectors (such as in useLoaderData) cannot return objects that are known to be serializable
``
The types of date.toString are incompatible between these types.
Type () => string is not assignable to type "Function is not serializable"`...'This is likely a mistake' warning. Is this really a mistake?
beforeLoad and pendingComponent behaviour
getRouteApi() Best Practices
getRouteApi('route/here') to access the router from outside the route definition. My concern here is if used incorrectly (outside of the route/here route tree), wouldn’t we see this not work/throw an error? I understand that this is more of a code quality/user error concern rather than a bug, similar to trying to access a React Context from outside of its Provider. Are there any guard rails you can set up to prevent this from happening?
I saw a few similar posts about getting the errors I am talking about, but wondering if there is a better guardrail than shouldThrow: false...Using <Link> to "/projects/$id/$taskId" results in redirect.
Relative paths when from path is condition/unknown
/catalog: This means the user is viewing their own catalog, but at the root, not within any folder or item
- A folder, being /catalog/folder/$folderId: This means the user is viewing their own catalog, within a specific folder
- An item at root /catalog/item/$itemId: This means the user is viewing an item within the root of their own catalog...route api to support more than one outlet
component: <RouteComponent /> api, it was possible to have more than one outlet so that my routes could also return their own sidebar structures.
thank you...Route precendance
How Best to Handle Query Param Side Effect
_restore query param to potentially delete the indexedDB backing the app. Curious if anyone has a better / more idiomatic way of doing the following? Ideally without hooks (as I intend to use this within an Effect Atom).
```tsx
useEffect(() => {
const shouldRestore = dev && new URLSearchParams(location.search).get("_restore") !== null...customErrorAdapter
extending linkOptions
Should you initialize event stream outside of the router provider or outside of it?
No auto complete in vs code
useNavigate and navigate(), it doesn't show the auto complete suggestions of the path names. Am I missing something? Thanks.
Index route without trailing `/` ?
/ like myapp.com/dashboard where dashboard is my router's basepath
the only way this will work is if I add the trailing / like myapp.com/dashboard/ otherwise it will be the not found component
is there really no way to make this work without the trailing /?...zod validateSearch without redirecting
I deleted routeTree.gen.ts and now cannot re-generate it
bun dev that is supposed to generate the file now gives me error Pre-transform error: Failed to resolve import "./routeTree.gen" from "src/main.tsx". Does the file exist?. Is there special command that I could use to initially generate the file?