sonnet
sonnet copied to clipboard
Brief white flash in demo app between page loads
On Firefox, with "dark mode" selected in system settings, when I run the create-sonnet-app generated localhost app (edit to add: with SSR enabled), there are brief white flickers when CSS styles are not applied:
https://github.com/user-attachments/assets/b7f7fe5e-96c6-468e-950d-89a249c70d00
Is this expected?
The server-side implementation is currently experimental. Ideally, when persisting theme state using cookies, the server should read these cookies during the request lifecycle and render the HTML accordingly based on the stored theme preference.