Skip to content

adding Cookie Storage to atomWithStorage #1833

Answered by dai-shi
matannahmani asked this question in Ideas
Discussion options

You must be logged in to vote

Yeah, it would be nice to have something like that in persistence guide.
Would you like to open a PR?
I think it would be better to have to recipes separately: a) zod with localStorage, and b) JSON.parse with cookieStorage.

Also, we need to revisit the structure of persistence guide entirely. Maybe, you can help on it too (in a separate PR).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@matannahmani
Comment options

@mhsattarian
Comment options

@dai-shi
Comment options

@mhsattarian
Comment options

@mhsattarian
Comment options

Answer selected by matannahmani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants