https://github.com/kiki-le-singe/nextjs-perf-showcase
Performance-focused Next.js demos using smart code splitting and dynamic imports
https://github.com/kiki-le-singe/nextjs-perf-showcase
code-splitting dynamic-imports nextjs performance react reactjs
Last synced: 10 months ago
JSON representation
Performance-focused Next.js demos using smart code splitting and dynamic imports
- Host: GitHub
- URL: https://github.com/kiki-le-singe/nextjs-perf-showcase
- Owner: kiki-le-singe
- Created: 2025-08-01T15:09:50.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-10-02T09:57:39.000Z (10 months ago)
- Last Synced: 2025-10-02T11:34:29.171Z (10 months ago)
- Topics: code-splitting, dynamic-imports, nextjs, performance, react, reactjs
- Language: TypeScript
- Homepage: https://medium.com/@aalbertini95_90842
- Size: 66.2 MB
- Stars: 11
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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...


## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](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`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Audio Attribution
Music by [Tunetank](https://pixabay.com/users/tunetank-50201703/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=349853) from [Pixabay](https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=349853)
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.