Frontend & browser·Modules, bundling and the build
the chart component loads on first render of the chart, with a fallback shown while it arrives.
Lazy component
Also calledlazy loading a component, React.lazy
A component declared as a dynamic import so its code is fetched at first use, paired with a loading fallback. It is code splitting made ergonomic, and it is the right default for anything heavy and conditional — editors, charts, maps, modals. Two things bite: a network failure now happens mid-interaction and needs an error boundary, and lazy-loading something above the fold trades bundle size for a visible delay.