You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component that originally used useSnapshot(proxyObject) to rerender whenever any part of the recursive object changed. I absentmindedly updated it to useProxy(...) and it broke without my knowledge.
Since useProxy(...) by itself (no assignment or attr access) is useless, I think this plugin should warn about either switching to useSnapshot(...) if you want a catch-all rerender or to use the result returned to subscribe to specific changes.
The text was updated successfully, but these errors were encountered:
I have a component that originally used
useSnapshot(proxyObject)
to rerender whenever any part of the recursive object changed. I absentmindedly updated it touseProxy(...)
and it broke without my knowledge.Since
useProxy(...)
by itself (no assignment or attr access) is useless, I think this plugin should warn about either switching touseSnapshot(...)
if you want a catch-all rerender or to use the result returned to subscribe to specific changes.The text was updated successfully, but these errors were encountered: