sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

the obsolete library

Open dplotnikov opened this issue 3 years ago • 5 comments

Support for Office UI Fabric JS has ended. We recommend that you use the Fluent UI framework instead.

source https://developer.microsoft.com/en-us/fabric-js


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

dplotnikov avatar Jul 21 '22 17:07 dplotnikov

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jul 21 '22 17:07 ghost

SPFx use Fluent UI React, but with old name (UI Fabric) and old version (7). The JS lib has long been deprecated.

@AJIXuMuK, the update to v8 is on roadmap for next version (with react 18 ^^) ?

PooLP avatar Jul 22 '22 06:07 PooLP

@dplotnikov - we do have a reference on styles from Office UI Fabric JS but not using them. It is mostly for backward compat. @PooLP - for the Fluent UI React v8 (or v9) - the work is in progress but on early stages. But even today you can update the reference in your project and use v8 if you want to.

AJIXuMuK avatar Jul 22 '22 18:07 AJIXuMuK

@AJIXuMuK That's what I do. But if you want to use, for example, the PnP Spfx control, you have to keep the V7 otherwise the packages are much too heavy. It's a pity.

PooLP avatar Jul 25 '22 08:07 PooLP

@PooLP - that's true. I think we need to work on PnP Controls too to remove direct dependency.

AJIXuMuK avatar Jul 25 '22 12:07 AJIXuMuK