Next.js Performance Showcase

Hi everyone :grin:

I’d like to share a project I’ve been working on: a performance showcase for Next.js. It demonstrates a few optimization techniques you might find useful — or even inspiring — for your own applications.

Features Demonstrated

:white_check_mark: Code Splitting

  • Dynamic imports for heavy components
  • Lazy loading with React.lazy and Suspense
  • Bundle optimization to reduce initial page load

:white_check_mark: Streaming

  • Basic streaming with skeleton loading states
  • Dashboard streaming with staggered component loading
  • Nested streaming with progressive content rendering
  • Multiple loading patterns (skeleton, spinner, placeholder)

:construction: Coming Soon

  • And more performance techniques…

I also wrote two Medium articles that go into more detail about the showcases in this GitHub repository:

Hope you enjoy it — feel free to share any thoughts or feedback!