why attributes is Non-reactive object? #13989
Unanswered
tangjian1891
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i noticed that attrs is a proxy object.
docs https://vuejs.org/api/composition-api-setup.html#setup-context. "attrs and slots are stateful objects".
i don't know what is the difference between reactive object and stateful object.
i can't find them in the "Glossary"
#8421 Using
isReactive(attrs)
returns false,but attrs in watch or computed is correct.i am very confused. why is it designed this way?
Beta Was this translation helpful? Give feedback.
All reactions