React Lazy - Optimizing bundle size.

added by JavaScript Kicks
9/30/2019 7:25:24 AM

643 Views

React Lazy and Suspense is a powerful tool to help you achieve the optimization we require. It works by dynamically getting components when they are required by your App rather than adding them to the main bundle that will be pulled by the browser at the very beginning. Documentation link: https://reactjs.org/docs/code-splitting.html#reactlazy.


0 comments