SolidStart - SSR global signal #1668
Unanswered
PawelJastrzebski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone👋, I have been using solid.js for a while and I realy like it 💙.
I have a question regarding global signals, witch in my case causing inconsistency between SSR and SPA mode.
Context:
Counter.tsx - used on 2 pages. Signal defined globally to share state across pages.
SPA (ssr: false)
SSR (ssr: true)
Question:
Is there a way to create new backed context per every request or other way to use global signals in SSR mode?
Full example: https://github.com/PawelJastrzebski/solidStart_global_signal
Beta Was this translation helpful? Give feedback.
All reactions