sp-dev-fx-webparts/samples/react-components-dynamicloa.../README.md

2.0 KiB

Code Splitting in SharePoint Framework

Summary

Load React components and third-party packages on demand in SPFx

Dynamic Loading of React components

Compatibility

SPFx 1.6 Node.js v8 | v6 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Compatible Hosted Workbench Compatible

Applies to

Solution

Solution Author(s)
react-components-dynamicloading Vardhaman Deshpande (@vrdmn , vrdmn.com)

Version history

Version Date Comments
1.0 October 09, 2018 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve

Features

More details included in this blog post: https://www.vrdmn.com/2018/10/code-splitting-in-sharepoint-framework.html