You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: