You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 2, 2022. It is now read-only.
Is your enhancement related to a problem? Please describe.
In a manner of speaking yes, Web Performance and Web Vitals are becoming increasingly important. The need to reduce bundle size and lazy-load components that are not critical to user interaction is an important milestone for JavaScript performance in 2021.
Describe the solution you'd like
I would like to suggest adding support for Code Splitting and Dynamic Import syntax to our Webpack configuration. This would mean a few adjustments to Webpacks settings. As well as installing support for @babel/plugin-syntax-dynamic-import that would allow engineers to lazy-load JS components.
It would also endeavour to set up code-splitting as a default in the Webpack configuration. Engineers would be able to use the following syntax to load components dynamically: