Skip to content

kiki-le-singe/nextjs-perf-showcase

Repository files navigation

Next.js Performance Showcase

This project demonstrates various performance optimization techniques in Next.js.

Features Demonstrated

✅ Code Splitting

  • Dynamic imports for heavy components (Chart.js, Leaflet, WaveSurfer.js)
  • Lazy loading with React.lazy and Suspense
  • Bundle optimization to reduce initial page load

✅ 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)

🚧 Coming Soon

  • And more performance techniques...

Streaming


Code Splitting


Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Audio Attribution

Music by Tunetank from Pixabay

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Performance-focused Next.js demos using smart code splitting and dynamic imports

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages