Skip to content

Are watchers declared in methods and onMouned auto destroyed? #7189

Discussion options

You must be logged in to vote

playground

I wrote a simple demo. It can be confirmed that watch events will always be superimposed during the life cycle. When they are destroyed, these watchers will also be destroyed.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@fanckush
Comment options

Answer selected by fanckush
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants