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

Office-ui-fabric-react version with drop 1.2

Open wobba opened this issue 9 years ago • 6 comments

Category

  • [x] Question

The SPFx docs says to take an explicit dependency on office-ui-fabric-react v2.x. Drop v1.2 comes with v4.32.0 after running the yeoman generator.

Does that mean for drop v1.2 we should take a dependency on v4.x?

wobba avatar Sep 01 '17 06:09 wobba

Also, if you take a dependency on 2.x with drop 1.2, it won't build.

wobba avatar Sep 04 '17 17:09 wobba

I think the docs are behind. Drop v1.2 works fine for me with office-ui-react 4.32. As it is the new package version, I would update my dependencies to that. I updated my project with npm and it went sweet. I created a new "HelloWorld" with yo @microsoft/sharepoint to compare dependencies and stuff.

DennisKuhn avatar Sep 04 '17 19:09 DennisKuhn

I can make it work as well, but it's important to keep docs up to date with drops, especially when static linking is recommended together with adding an explicit version of UI fabric. Ideally I would like the old way, where I didn't have to bundle in UI fabric as it was pre-loaded with SPFx.

wobba avatar Sep 04 '17 19:09 wobba

@VesaJuvonen

GrahamMcMynn avatar Sep 06 '17 21:09 GrahamMcMynn

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”

spdevdocs avatar Apr 29 '18 12:04 spdevdocs

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 00:01 msft-github-bot