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
CSRF Protection
Is there an elegant way of adding CSRF protection into my mutation routes? Or does Tanstack start have a nice built-in way to handle CSRF? Here's an example of how most mutations are created in my app...
@tanstack/solid-query with tanstack start + ssr
No redirection using throw redirect in middleware
Is Tanstack Start good for apps not using tanstack router?
slow hmr
react-native support?
How to remove a client-specific thing from server bundle
cloudflare-module
output format)...Throw `json` in middleware not working for route rendered on server
loaderData
function of a Route, it makes a call to a server function using that middleware.
However, the server crashes when the route attempts to be loaded by a server without the required role. Any reason why this would be?
My middleware:
```TS...Invalidate QueryClient server cache
server-only isolation strategies (vite-env-only, `import 'server-only'`, etc.)
import 'server-only'
+ vite-env-only
blocking server-only
, but that seems to create false positives when you use createServerFn....Not encoded param in url cause SSR error when reloading
<Link />
component linked to the path with the param, it results in an error.
see : https://github.com/olivier-deschenes/tanstack-start-not-encoded-uri-ssr-bug for demo
...
Need Help! Child Dynamic Route Loader affects Parent Route Query?
What compiler Tanstack Start uses under the hood?
babel
under the hood.
Babel is very slow AFAIK. Why use that and not the react-swc plugin instead, if you don't have any special babel plugins in the pipeline, it seems.
react-router v7 uses babel for sure as they have some of the internal plugins I think, which is super sad, but for Tanstack I haven't see direct use of the babel capabilities, so react-swc might be good enough to be just drop in replacement with a boost in performance?
In case you still see great performance and better build performance than Next.js, then I'm fine with Babel, but I'm not sure it will be as good when Turbopack is fully GA for both dev and production builds. I'm surprised SWC isn't a default thing here....OpenTelemetry SDK Setup Issue with TanStack Start
cloudflare-module
target
- Installed @opentelemetry/sdk-node
...ClientOnly not working, error still raised on server side
Sentry setup with start?
Unit testing with Tanstack Start
.handler
/ .server
methods) but this feels like overkill and I'm not sure I want to expose functions just for the sake of testing discrete parts of the flow - doesn't feel right....dynamic middleware generation???

How to be assured environment variables secrets sensitive data are not being leaked?
server-only
package seems to be separate from nextjs, but using it with tanstack start does not seem like I'm using it correctly. Basically setting in any file that references an environment variable or business logic. I removed all implementations and did a test with a single secret file being imported into a createServerFileRoute
file, and the whole client app crashes complaining about not using it in client code, but it is not being used in client code. I go...