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

Query initial state synchronously #77

Open
aghoneim92 opened this issue Apr 2, 2021 · 0 comments
Open

Query initial state synchronously #77

aghoneim92 opened this issue Apr 2, 2021 · 0 comments

Comments

@aghoneim92
Copy link

aghoneim92 commented Apr 2, 2021

Since we can both read from localStorage and find the media query value synchronously at startup, the flash situation could be avoided if there's no server-side rendering or static site generation. I would love to implement this, and would like to know the maintainers' thoughts about it.

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