Dynamic imports with react-loadable, @loadable/component and React.lazy
This is an easy, basic and raw (no styles attached) example of HOW to dynamically import Components
.
Installation
npm install
Running the dev server
npm start
react-loadable vs React.lazy vs @loadable/component
This is an easy, basic and raw (no styles attached) example of HOW to dynamically import Components
.
npm install
npm start
react-loadable
@loadable/component
React.lazy()
react-loadable vs React.lazy vs @loadable/component
MIT License