react split
$ npm install --save react-split
Source: www.npmjs.com
code splitting react
// MyApp.js import React, { lazy } from 'react'; const MyComponent = lazy(() => import("./MyComponent.js"));
Source: reactjs.org
$ npm install --save react-split
// MyApp.js import React, { lazy } from 'react'; const MyComponent = lazy(() => import("./MyComponent.js"));