Set a cookie upon an animation is complete on server side?
Closed this issue · 1 comments
thomasbritton commented
Hi,
I have an animation which plays upon first visit to my site, and upon animation completion I want to set a cookie so it doesn't replay each time a user refreshes or switches pages etc. I solved that with using the client side setCookie
without setting ctx
.
But when I do the check to see if the cookie is present before rendering the animation component theres obviously a mis-match in the server code and client code, but I;m not sure how to set the cookie with context?
Can you help?
Thanks
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.