0PricingLogin
React Academy · Lesson

Route-based & Component-level Splitting

Split by route (screen-level) and split inside screens (widget-level). Use Suspense near the slow area so the rest stays interactive.

Two levels: route & widget

Aim: Split routes (whole screens) and widgets (heavy parts inside a screen). Keep fallbacks local so the page stays usable.

Where to split & why

  • Route-based: split big pages
  • Component-level: split charts/editors
  • Place Suspense tight to the slow area

All lessons in this course

  1. React.lazy and Suspense — Lazy Components
  2. Route-based & Component-level Splitting
  3. Bundles, Cache & Preloading Hints
← Back to React Academy