Forum Discussion
Using Office UI Fabric React with SharePoint hosted app
We're building a SharePoint-hosted app where we extensively use Office UI Fabric React (+ some homegrown CSS patches that make it play nice with SharePoint 2013 on-premises CSS)
We're bundling everything with Webpack + ts-loader + Node SASS + Babel and then attaching the resultant bundle to a SharePoint page via a single ScriptLink tag.
We also have some "bootstrapper" code in App.js but that code basically does some preparatory work with the SharePoint SOD framework to load the bundle on-demand. Please note that you might not need that, as we have a specific requirement for loading the JavaScript SPA bundle only for a specific target audience so we want to avoid loading a ~ 2 Mb JavaScript file when it is not going to be used :)
Please feel free to follow up with more specific questions - I will be happy to answer them