We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 1.0.0-rc.13
The reproduced demo is: https://codesandbox.io/s/sharp-lamarr-04z91
The main code is as follows:
<script> import { watch, ref, computed, reactive } from "@vue/composition-api"; export default { name: "App", components: { HelloWorld, }, setup() { const count = ref(0); const double = computed(() => count.value * 2); const state = reactive([count, double]); let dummy; watch( () => state, (state) => { dummy = [state[0].value, state[1].value]; }, { deep: true } ); count.value++; console.log(dummy); // // output undefined. }, }; </script>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version: 1.0.0-rc.13
The reproduced demo is: https://codesandbox.io/s/sharp-lamarr-04z91
The main code is as follows:
The text was updated successfully, but these errors were encountered: