Version
3.0.0-alpha.10
Reproduction link
https://jsfiddle.net/qcom4adj/
Steps to reproduce
- Create a reactive object (
const state = reactive({ hasUsers: false }))
- Start watching the key in this object (
watch(state.hasUsers, () => { ... }))
What is expected?
Message in the console:
key 'hasUsers' has been changed!
What is actually happening?
Message in the console:
[Vue warn]: Unhandled error during execution of watcher getter
TypeError: fn is not a function