Replies: 5 comments 20 replies
-
as of https://github.com/TanStack/router/releases/tag/v1.59.0, you can now specify |
Beta Was this translation helpful? Give feedback.
-
Is there a way to change defaults with per route opt-outs? |
Beta Was this translation helpful? Give feedback.
-
ssr: false it's very simple, thanks |
Beta Was this translation helpful? Give feedback.
-
@schiller-manuel, would you be able to add JSDoc and API documentation for |
Beta Was this translation helpful? Give feedback.
-
I'm following this conversation, does the |
Beta Was this translation helpful? Give feedback.
-
I've been working with the new Start framework for a few days now while I love it, a painful aspect is dealing with client-side code.
In some cases, I can wrap a component (like plotly.js) with a useEffect hook like this:
In other cases, merely importing a library causes the app to crash because that library depends on something like web workers which don't exist in Node. I'm exploring code like this to work around it:
I love the SSR and don't want to stop using it, however I feel like we can maybe make client-side less painful as well. Some ideas I had:
ssr.tsx
to force client-side a component via path like:clientOnly: ['./app/components/blah.tsx', '@deck.gl/core']
. This can cause layout shift, but that might be fine.use client;
? https://react.dev/reference/rsc/use-clientAny advice or thoughts on how to deal with these issues on a per case or framework level is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions