AAshish KumarJun 7 · 9 min readReact.lazy() Route Code Splitting ExplainedRelated: JavaScript Bundle Analysis: Tree Shaking and Code Splitting Explained covers how bundlers construct module graphs and where tree shaking fails, which is the foundation for understanding what helloashish.hashnode.dev
AAshish KumarMay 18 · 11 min readTree Shaking and Code Splitting in JavaScriptA 2MB gzipped JavaScript bundle is ~7MB for V8 to parse and compile. On a mid-range Android at 3G, that is 12 seconds before a single interaction is possible. Bundle size is not an abstract metric — ihelloashish.hashnode.dev