Skip to content
Discussion options

You must be logged in to vote

Valtio doesn't provide a direct solution to it (not possible by design), but wouldn't you be able to create a custom hook to track the usage?

useMySnapshot(state, "UID")

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@pilaoda
Comment options

Answer selected by pilaoda
Comment options

You must be logged in to vote
4 replies
@pilaoda
Comment options

@overthemike
Comment options

@pilaoda
Comment options

@overthemike
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
3 participants