Skip to content

In Pinia, the watch function fails to capture changes to object properties within the state. #2652

Closed Answered by posva
HXHSHR asked this question in Help and Questions
Discussion options

You must be logged in to vote

https://vuejs.org/guide/essentials/watchers.html#watch-source-types will help you understand how watch works differently with ref and reactive + the deep option

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2651 on April 21, 2024 08:42.