Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: watch for change in props #811

Merged
merged 2 commits into from
Jun 18, 2022
Merged

fix: watch for change in props #811

merged 2 commits into from
Jun 18, 2022

Conversation

brc-dd
Copy link
Member

@brc-dd brc-dd commented Jun 18, 2022

fixes: #809

@userquin
Copy link
Collaborator

userquin commented Jun 18, 2022

@brc-dd keep initilized the ref, the watchEffect will not run first time: when called the reactivity is added but will not run the effect

@brc-dd
Copy link
Member Author

brc-dd commented Jun 18, 2022

@userquin I guess you are looking at a different documentation. See this: https://vuejs.org/guide/essentials/watchers.html#watcheffect

image

@userquin
Copy link
Collaborator

userquin commented Jun 18, 2022

@userquin I guess you are looking at a different documentation. See this: https://vuejs.org/guide/essentials/watchers.html#watcheffect

you're right, I was looking here: https://vuejs.org/api/reactivity-core.html#watcheffect

@brc-dd brc-dd merged commit 7737699 into main Jun 18, 2022
@brc-dd brc-dd deleted the fix/collapsed branch June 18, 2022 12:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

when using Multiple Sidebars the sidebar not being updated
2 participants