Provide a proxy for each item like ItemProvider #352
-
First of all thank you for this great package I'm just getting started today with valtio and I like the idea and the approach I'm currently using context in react and when I have a list with complex item manupilation I wrapped it within a context . Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
dai-shi
Feb 5, 2022
Replies: 1 comment 1 reply
-
In valtio, all nested objects are proxies. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
amjadbouhouch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In valtio, all nested objects are proxies.
https://github.com/pmndrs/valtio/wiki/How-to-split-and-compose-states
Let me know if your question is something else.