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

Local Storage Clears On Refresh / Changes Value On Refresh #7

Open
Shane-Donlon opened this issue Dec 5, 2024 · 0 comments
Open

Local Storage Clears On Refresh / Changes Value On Refresh #7

Shane-Donlon opened this issue Dec 5, 2024 · 0 comments

Comments

@Shane-Donlon
Copy link

Guten tag (and that's all the German I know 🤣 )
If PRs are welcome let me know and I can fork the repo and add a pull request.

Problem Description:

Initial Load
image showing key value pair without value

Change to dark
image showing storage theme dark

Refresh Page
image showing storage theme system

Cause

file: https://github.com/Makisuo/qwik-themes/blob/main/src/lib/provider.tsx
line 100

On load (Visible) this is what themeSig.value is doing
theme sig value setting to ""

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