Skip to content

View doesn't sync with value when update parent in created hook of child #2086

@07akioni

Description

@07akioni

Version

3.0.0-rc.10

Reproduction link

https://codesandbox.io/s/provider-value-vue3-i3qx6?file=/src/index.js

Steps to reproduce

change provider's value in injected component created hook. provider is not re-rendered.

Vue3 doesn't work as expected
https://codesandbox.io/s/provider-value-vue3-i3qx6?file=/src/index.js
image

Vue2 works as expected
https://codesandbox.io/s/provider-value-vue2-62t5q
image

What is expected?

Show changed-value\nchanged-value

What is actually happening?

Show provider-value\nchanged-value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions