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
Tanstack start useSyncExternalStore error in dev
index.mjs?v=d45e0807:2 Uncaught (in promise) SyntaxError: The requested module '/@fs/Users/jamal/Developer/GitHub/project/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.0/node_modules/use-sync-external-store/shim/index.js?v=d45e0807' does not provide an export named 'useSyncExternalStore' (at index.mjs?v=d45e0807:2:10)
index.mjs?v=d45e0807:2 Uncaught (in promise) SyntaxError: The requested module '/@fs/Users/jamal/Developer/GitHub/project/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.0/node_modules/use-sync-external-store/shim/index.js?v=d45e0807' does not provide an export named 'useSyncExternalStore' (at index.mjs?v=d45e0807:2:10)

SPA mode monorepo not building: "Cannot access 'pg' before initialization"
pnpm build I get ReferenceError: Cannot access 'pg' before initialization.
When I add ssr: { external: ['pg'] } to my vite config, it says:
```Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'pg' imported from /home/codebench/Dev/ts-start-bug/apps/web/.nitro/vite/services/ssr/assets/router-w0xdFAbu.js...SCSS in Tanstack, Hydration Issue & FOUC
import "../styles.scss", I see FOUC (flash of unstyled content), but if I link it as a stylesheet by using import appCss from "../styles.scss" I get hydration errors....How to use only certain files as routes?
Data loading for redirection decision
Global Middleware
My Tanstack Start project is slow.

How to pass client data to loader/beforeLoad without URL params?
PARTIAL data update
router.invalidate(), then all the data from the loader will be reloaded, which is not very effective if there is a lot of data, but only part of it has been updated.
through experimentation, I came to the conclusion that I need to do a hook to work with server functions in order to first receive data from loader, but then update only them.
some server functions:...SSR loading state
page, limit, sort and order.
I want to achieve the behavior that:
1. If user loads page http://localhost:3000/table?page=1&limit=20&sort=name&order=asc
then the page is ssr-ed to them...server.ts context declaration merging conflict between react-router and react-start?
server.ts fetch handler. The docs say to do this https://tanstack.com/start/latest/docs/framework/react/guide/server-entry-point#request-context
```
import handler, { type ServerEntry } from "@tanstack/react-start/server-entry"
...Server dependency leaking to client?
hook.js:608 Module "crypto" has been externalized for browser compatibility. Cannot access "crypto.getCiphers" in client code.
This stems from the @workos-inc/node package, which I only use in server functions. Does anyone have an explanation for if there is a proper way to protect a server-only dependency from seemingly leaking to client?...Locale Loader Runs on Auth Routes
/auth/sign-in, causing unwanted API calls and 401 errors
Current structure:
- Route file: {$locale}/route.tsx
- Auth routes: (authentication)/auth/sign-in.tsx...
How to get Route Type from Tanstack Start route tree gen
SPA mode still server rendering even with prerendering disabled
Proper way to compose 'request' middleware to get context type inference without duplication?
request middleware in order to get context type inference middleware will be run more than once and am wondering if there's a proper strategy for composing them to get type inference but not duplication. I did see in the docs that for server function middleware that can be deduped by adding it to globals.
Here's an example:
addSessionToContext - makes session from request available in later context...Server Functions missing when called from another server function on Cloudflare Deploy
How do I make search params optional in navigate()?

Any way to show loading page while waiting for beforeLoad