Is Valtio a good tool for async events? #904
Unanswered
niamleeson
asked this question in
Q&A
Replies: 1 comment
-
Valtio proxies are very lightweight nested proxies. Theoretically, you can use them for any values such as events. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I understand Valtio is great for rapid vanilla js state updates outside of the known UI libraries. What I couldn't easily grasp from reading the docs is whether Valtio can be useful for combining existing state with user events like input change, mouse and hover/movement, and then trigger api calls in certain scenarios. Or do use cases like this rather require observables like RxJs? Would you kindly help me understand more complex use cases of Valtio?
Beta Was this translation helpful? Give feedback.
All reactions