Delay loading of script bundle of a Dynamic Import

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/nextjs

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean JavaScript Code. Always.
  • React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

    Brief: React.lazy / Next/dynamic - is only really for code splitting by default - this is widely documented on both nextjs.org and reactjs.org ... they allow modules to be loaded at lower priority to your main bundle, however if the component will be rendered in that tree / needs to be rendered in the current tree - the module will be loaded as soon as possible so that react can continue rendering that specific tree.

  • Next.js

    The React Framework

    Brief: React.lazy / Next/dynamic - is only really for code splitting by default - this is widely documented on both nextjs.org and reactjs.org ... they allow modules to be loaded at lower priority to your main bundle, however if the component will be rendered in that tree / needs to be rendered in the current tree - the module will be loaded as soon as possible so that react can continue rendering that specific tree.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts