Closed thrownblown closed 10 months ago
When writing and reading cookies, it is recommended to encode them via the encodeURIComponent
function, so i updated that on v3.0.2
.
I think it was a bad update to provide this in the library.
In version v3.0.3
, I removed the logic around encoding.
Thanks for opening the issue.
In version 3.0.1 the cookie config below in Component.stories.tsx:
the cookie string in Storybook results:
in version 3.0.2: