Is useAttrs reactive? #8421
-
Documentation says: But actually is console result of useAttrs call is reactive Proxy(Object). It also works to watch attrs properties via watch. Was it desctibed wrong in documentation or do I miss something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 20 replies
-
It is not a reactive object, it is just a proxy object wrapped by proxy. |
Beta Was this translation helpful? Give feedback.
It is not a reactive object, it is just a proxy object wrapped by proxy.
https://play.vuejs.org/#eNp9ULsOwjAM/BUrS4sErVhRioT4A+YuUTEoUtNEidslyr/jPhED3Wzf2XfnKG7OFUOP4iJkaLx2BAGpd9e608ZZTxDBo2pID3gEHR5LDQle3hrIeDfbuHdr3DIvyrEZTzPc2C4QmPCGaruWR3WBczrMqG2xaO07/yrkTD8wKsvZFzvihtC4VhFyByAnPf2ssoaL7BrjqFEoSElO8jNLd64nGE7GPrGtajFxasGgLLd74ihWw3u/6APeiHzY+cUaV408Dryu5P+jTtSfsCJ9ABtCke8=