Is there a way to hydrate signals on the server?
I have an AuthContext. I just specifically want to hydrate my
As far as I know, even in React I can't do this unless I bring in a separate library. Jotai actually does this using
https://jotai.org/docs/utilities/ssr
user signal in some routes. Is there a way to do this? As far as I know, even in React I can't do this unless I bring in a separate library. Jotai actually does this using
useHydrateAtoms. I'm wondering if there's something similar in SolidJS that I can use? (Not Solid Start specific).https://jotai.org/docs/utilities/ssr
Jotai
Jotai takes a bottom-up approach to global React state management with an atomic model inspired by Recoil. One can build state by combining atoms and renders are optimized based on atom dependency. This solves the extra re-render issue of React context and eliminates the need for memoization.

