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

can not watch reactive dynamic property #855

Closed
flex-col opened this issue Nov 19, 2021 · 1 comment
Closed

can not watch reactive dynamic property #855

flex-col opened this issue Nov 19, 2021 · 1 comment

Comments

@flex-col
Copy link

flex-col commented Nov 19, 2021

const state = reactive({
    })

watch(() => state.test, () => {
      console.log('test ------- ', state.test)
    })

setTimeout(() => {
      set(state, 'test', '212313')
    }, 1000)
Rigo-m added a commit to Rigo-m/composition-api that referenced this issue Nov 24, 2021
antfu pushed a commit that referenced this issue Nov 24, 2021
@Rigo-m
Copy link
Contributor

Rigo-m commented Nov 25, 2021

@antfu should be closed with PR #859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants