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

Open
opened 2024-11-28 13:43:22 +00:00 by chris-kruining · 1 comment
chris-kruining commented 2024-11-28 13:43:22 +00:00 (Migrated from github.com)

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

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 commented 2024-12-02 13:29:59 +00:00 (Migrated from github.com)

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
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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/calque#14
No description provided.