examples icon indicating copy to clipboard operation
examples copied to clipboard

Add webpack with dynamic loading example

Open GeoSot opened this issue 2 years ago • 3 comments

GeoSot avatar May 17 '22 21:05 GeoSot

Can you describe a little more of what's different here than the other Webpack example? Is it just that we have babel here, or does this give us something specific? I'm not sure what's meant by dynamic loading.

mdo avatar Jun 04 '22 15:06 mdo

Yes of course. Dynamic/lazy loading gives us the opportunity to handle lazy loading with webpack (better loading time), https://webpack.js.org/guides/lazy-loading/ . It needs some extra configuration on webpack and we can import what we want on the fly, so it may could be an nice to have example .

GeoSot avatar Jun 06 '22 08:06 GeoSot

@GeoSot can you push your branch to this repo later please? And close this PR

XhmikosR avatar Mar 22 '23 05:03 XhmikosR