-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Version
2.7.x
Reproduction link
https://codesandbox.io/s/vue-2-7-inject-provide-mweuuw
Steps to reproduce
We are used to using inject provide to share services instances across our components.
We use v-if
to control the render of components while the service is not available yet.
It works perfectly in Vue 2.6.x, but it not works anymore in 2.7.x
What is expected?
Child component receive the correct injection.
What is actually happening?
Child components always receive undefined.
- 2.6.x working - https://codesandbox.io/s/vue-2-6-inject-provide-ontuv3
- 2.7.x not working - https://codesandbox.io/s/vue-2-7-inject-provide-mweuuw
Metadata
Metadata
Assignees
Labels
No labels