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

cookie value not updated on external cookie change #1

Open
raDiesle opened this issue Oct 2, 2019 · 2 comments
Open

cookie value not updated on external cookie change #1

raDiesle opened this issue Oct 2, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@raDiesle
Copy link

raDiesle commented Oct 2, 2019

Hi,

What I did:
update cookie in browser cookie settings with another value.
Value is not reflected in example ui, but on page reload

@devhammed
Copy link
Owner

Hello @raDiesle,

Yeah, you have to reload the page for it to capture the browser value.
This feature you are requesting for requires watching the browser cookie value and syncing with the React state. Though, the initial plan is to hydrate the browser value on page load then only sync updates from React state to Browser. I will see what I can do.

Thanks for using!

@devhammed devhammed added the enhancement New feature or request label Dec 23, 2019
@devhammed
Copy link
Owner

devhammed commented Jan 6, 2020

Screenshot from 2020-01-06 08-57-26

I am already working on your feature request, don't know if using setInterval is the best for the job though.

Do you have a better suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants