An example of lazily loading the code for modal windows as well as lazily loading dependencies within those modals. Our initial JS weight is 51kB. If and when the modal is opened the modal code (4kB) and the mapbox code (132kB) is loaded lazily.
jpdevries/lazy-react-modal
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
