Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] theme (colorscheme, hue) not persisted to server session #14

Open
chris-kruining opened this issue Nov 28, 2024 · 1 comment
Open

Comments

@chris-kruining
Copy link
Owner

in production changes to the theme are either not properly persisted, or not used/loaded during ssr. This results in the colorscheme dropdown and hue slider resetting on reload

@chris-kruining
Copy link
Owner Author

alright most of this seems to be solved. pretty sure the root cause was the prerendering of the routes.

only issue still remains is that the sessions are now lost on re-deployments of the app.
I can either:

  1. persist server sessions to something outside of the app (perhaps this is a task for dapr)
  2. make the server stateless again. this is preferable I think, but at that point there really is no reason for solidStart with ssr anymore. not until I create some server only stuff again in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant