Skip to content

parentComponent does not provide values #1262

Closed
@dmattia

Description

@dmattia

Version

1.0.0-beta.29

Reproduction link

https://gist.github.com/dmattia/5b99dc2584ec8241f84b30b5476b6ff3

Steps to reproduce

Run the linked test. The first two tests pass as expected, but the third test fails because: Injection "val" not found

What is expected?

I would expect that using a parentComponent would inject data to the component being mounted.

What is actually happening?

The only injected values to the child component are those that are passed explicitly through the provide option during mounting.

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