Skip to content

How to update a useSnapshot() instance #812

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

You must be logged in to vote

It should be updated but maybe the .map() usage on the snapshot is tricky.
Would you be able to create a very small example with https://codesandbox.io/s/react-new ?
No styles are needed. Just one single App.js file would be good.

Replies: 1 comment 3 replies

Comment options

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

@dai-shi
Comment options

Answer selected by Ettorebigm
@Ettorebigm
Comment options

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