sp-dev-fx-webparts/samples/react-components-dynamicloa...
Vardhaman Deshpande e3d097576b adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
..
assets adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
config adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
src adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
.editorconfig adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
.gitignore adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
.yo-rc.json adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
README.md adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
gulpfile.js adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
package-lock.json adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
package.json adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
tsconfig.json adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00
tslint.json adding sample to spfx repo (#643) 2018-11-09 16:59:17 +02:00

README.md

Code Splitting in SharePoint Framework

Summary

Load React components and third party packages on demand in SPFx

Dynamic Loading of React components

Used SharePoint Framework Version

SPFx v1.6.0

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