Skip to content

Version conflicts occur in micro front-end projects #163

@loca-spirit

Description

@loca-spirit

Because typescript5 is used, version 0.2.2 is used. However, when used with 0.1.13 in a micro front-end project, Reflect.getMetadata('design:type', x, x) will fail.

Scenes:
The micro front-end framework is used to load multiple pages. The current page uses (0.1.13), then enters other pages (uses 0.2.2), and then returns to the old page, click to partially load the module through the tab component. There must be a problem that Reflect.getMetadata('design:type',x,x) fails.

But because the scene is too complicated and I don’t understand the underlying storage principle of metadata, I came here to ask for advice.

expect
It is expected that versions 0.1.13 and 0.2.2 will be compatible with each other.

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