We love lazy loading. It sounds smart. “Load only what’s needed!” Except… sometimes, we overdo it. I once saw a project split 15 components into separate chunks — each under 10KB. On paper, perfect. In reality, 15 separate network requests killed performance. Sometimes one optimized bundle beats dozens of tiny ones. Rules I follow now: ✦ Lazy load pages, not every component. ✦ Measure before you “optimize.” ✦ Bundle intelligently — not just aggressively. Performance isn’t about “doing less” — it’s about doing what matters. What’s the most over-engineered “optimization” you’ve seen? #javascript #react #frontendperformance #webdev
True. Lazy loading is helpful, but not a default solution for everything
Why not having single js bundle as a default? If you are not crazy with dependencies, it usually has up to a few megabytes and then you don't need to load anything on the next pages, as the user is traveling through your app