react-bundle
Lazy load dependencies (using bundle-loader or import()
)
Taken from react-router
Table of Contents
Install
yarn add react-bundle
Usage
Using bundle-loader:
<Bundle load=loadSomething> // do something w/ the module </Bundle>
Using import()
:
<Bundle load= import'./Something'> // do something w/ the module </Bundle>
License
BSD-3-Clause