-
Notifications
You must be signed in to change notification settings - Fork 20
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
Problem: color scheme script is lagging #399
Comments
@power-f-GOD you can claim it |
@power-f-GOD i believe you can do it canonically, take a look https://www.youtube.com/watch?v=3GpZkVBjXfE |
Ok, @zolotokrylin . My experience with |
@power-f-GOD there's lag on localhost for me, not on ngrok. on ngrok it doesn't work at all, this increases the chances it will not on vercel, i could be wrong |
It's not the same for me, @surajsharma . See this screen record. Is it the same for you @zolotokrylin ? |
checking |
while I am building locally, I have an assumption that it relates to hydration |
Locally the glitch is there, but it just loads faster.
But, it should be done not in step 2, but in step 1. So you need to capture the cookie with the server-side request handler and process it based on the cookie value. This is my quick guess @power-f-GOD |
I guess that's why George mentioned, that it should be in the cookie, and not in the localStorage... just another guess |
Ok. Can we have a quick Meets call, let me see what it is like on your end, and you'll see mine also? |
Log:
|
Originally posted by @surajsharma in #397 (comment)
The text was updated successfully, but these errors were encountered: