Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Next.js
Next.jshard

What is streaming + `Suspense` in the App Router (and `loading.tsx`)?

Tags
#streaming#suspense#loading
Back to categoryPractice quiz

Answer

With streaming, the server can send HTML in chunks as data resolves. `Suspense` boundaries (and `loading.tsx`) show a fallback while a segment loads, improving perceived performance and TTFB.

Related questions

Next.js
What is `loading.tsx` in the App Router and how does it relate to streaming?
#nextjs#loading#suspense
Next.js
How do you avoid “waterfall” data fetching in server-rendered code?
#data-fetching#promise-all#suspense