Skip to content

vue-property-decorator @ProvideReactive/@InjectReactive not working in 2.7.14 #13005

Open
@ahumellihuk

Description

@ahumellihuk

Version

2.7.14

Reproduction link

github.com

Steps to reproduce

  1. Checkout repo, install NPM dependencies, run app in dev mode.
  2. Repeatedly press the main button on screen that increments count
  3. Watch console output and read description provided.
  4. Check the source code

What is expected?

All three provided services are injected successfully

What is actually happening?

Some of the provided services are injected as undefined


The problem appears to be this change, which interferes with how @ProvideReactive/@InjectReactive decorators work (nested __reactiveInject__ object).

Since vue-property-decorator is now deprecated and Vue 2 support is ending soon I'm not sure how feasible the fix would be. For now we're sticking with 2.7.13 before we can migrate to Vue 3.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy