Skip to content

atomWith: Storage And Compare #2715

Answered by dai-shi
PhilipGrefe asked this question in Q&A
Discussion options

You must be logged in to vote

I have to create my own atomWithStorageAndCompare.

In general, yes.

However, I'm unable to achieve that.

In your case, what would be easier it to use atomWithStorage and selectAtom. Doesn't it work?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PhilipGrefe
Comment options

@dai-shi
Comment options

@PhilipGrefe
Comment options

Answer selected by PhilipGrefe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants