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
Now I am writing a library. I have imported @vue/reactivity to achieve reactivity. Then, when using this library in a Vue project, listening to reactive variables is not feasible. The pseudo code is as follows:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now I am writing a library. I have imported
@vue/reactivity
to achieve reactivity. Then, when using this library in a Vue project, listening to reactive variables is not feasible. The pseudo code is as follows:Library code
Code in the Vue project
The Count in the interface cannot be updated reactively.
Beta Was this translation helpful? Give feedback.
All reactions