This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 380
Vue 2.7.14 breaks @ProvideReactive/@InjectReactive #451
Comments
I think it was caused by the typescript version. I have the same problem when I upgrade the Typescript to 5.x. But it works well in Typescript 4.x with Vue 2.7.14 |
Thanks for your comment @petezhang! However, when I tested your theory against my reproducer repository by lowering the TypeScript version range from |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When upgrading a project to latest Vue 2.7 release (2.7.14) I've encountered a problem, where
@ProvideReactive
/@InjectReactive
don't work as expected resulting in some (not all) injected values to beundefined
.I've created a reproducer here from a Vite starter template: https://github.com/ahumellihuk/reproducer-vue-2.7.14-provide-inject
It looks to me like the change to blame is vuejs/vue@d1899ca (vuejs/vue#12854).
Given this project is now deprecated I'm not sure if a fix is feasible on
vue-property-decorator
side. We are sticking with 2.7.13 for the time being before we're able to migrate to Vue 3, but I'll raise this in Vue repository too in case a quick fix is possible on their side.The text was updated successfully, but these errors were encountered: