Replies: 3 comments 13 replies
-
Our solution is |
Beta Was this translation helpful? Give feedback.
-
Hello. In our case, shallowProxy would be very useful. We use objects where one field should be tracked, and the rest of the fields should not. And new fields are periodically added. We have to constantly make sure that all new fields are wrapped in a ref. It is inconvenient, and it could be easy forgotten. |
Beta Was this translation helpful? Give feedback.
-
@overthemike Any thougths? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to be able to create a shallow proxy, something that only does a reactive transform to the first level. Vue's "shallowRef" (https://vuejs.org/api/reactivity-advanced.html#shallowref) has this behavior - and it makes it easier to "ingest" large/weird objects. Sometimes I only care about dependency tracking at the top level, because the rest of it is tracked/managed elsewhere. I think this would give a good path forward in cases similar to #782.
Beta Was this translation helpful? Give feedback.
All reactions