Skip to content

SPFx PnP Controls depends on MGT #918

@siata13

Description

@siata13

Category

[x] Enhancement

[x] Bug

[ ] Question

Version

PnP controls in version 3.1

Observed Behavior

PnP Controls package has a dependency on @microsoft/mgt (Graph Toolkit) which causes problems in case 2 web parts using controls are loaded on the page:

image

Expected / Desired Behavior / Question

The solution could be to switch to mgt-spfx (https://www.npmjs.com/package/@microsoft/mgt-spfx), but it brings additional problems to always install the latest version of the solution of relaying on PnP controls along with mgt-spfx.sppkg to provide all the functionalities.

Could the controls relaying on mgt be moved to separate project??

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions