-
From the docs...
I'm trying to transition from easy-peasy but finding computed/derived values confusing. I was hoping to have the ability to How do you hang derived state off a state proxy object? It says "prefer" does this mean it will break or is it a subtle issue? Is what I am hoping for not easily possible with Valtio and React? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It doesn't break. It's just that the combination of Would you please explain what is your confusion and how you would expect for the transition? A small code snippet would help. |
Beta Was this translation helpful? Give feedback.
It doesn't break. It's just that the combination of
proxyWithComputed
anduseSnapshot
is not computationally super efficient. And, it's counter-intuitive from the user perspective, thus there's the strong warning message.Would you please explain what is your confusion and how you would expect for the transition? A small code snippet would help.