Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update documentation for $watch with an example #1450
What problem does this feature solve?
The documentation for $watch is pretty unclear how to use without an example https://vuex.vuejs.org/api/#watch
I figured out how to use it from this comment in the forums https://forum.vuejs.org/t/correct-way-to-use-store-watch-in-vuex/1800/6
What does the proposed API look like?
The documentation will have an example similar to https://forum.vuejs.org/t/correct-way-to-use-store-watch-in-vuex/1800/6