rsc-performance-dashboard
v0.1.0
Published
A developer tool to visualise React Server Component rendering — server vs client split, payload sizes, and Interaction to Next Paint metrics.
Downloads
156
Readme
RSC Performance Dashboard
A developer tool to visualise React Server Components rendering in real time — showing the server/client component split, wire payload sizes, INP, and TTFB metrics.
Why this exists
React Server Components shift rendering to the server, but developers have no built-in visibility into:
- Which components render server-side vs client-side
- How much data is serialised over the wire per component
- How RSC adoption affects real-user metrics like INP and TTFB
This dashboard surfaces all of that in one place.
Features
- Live render event stream — auto-updates every 4 seconds (toggle on/off)
- Component type split — server (indigo) / client (amber) / shared (emerald) colour coding
- Payload breakdown — pie chart of wire bytes by component type
- Performance timeline — area chart of render time, INP, and TTFB over recent events
- Component inspector — click any render event to see per-component render time and payload
- Stat cards — avg render time, payload, INP, TTFB, server ratio, total events
Tech stack
- Next.js 14 with App Router and React Server Components
- TypeScript throughout
- Tailwind CSS for styling
- Recharts for charts
- Lucide React for icons
Getting started
npm install
npm run devOpen http://localhost:3000.
Roadmap
- [ ] Real instrumentation via Next.js middleware + server actions
- [ ] WebSocket live feed from a Next.js dev server plugin
- [ ] Per-route historical comparison
- [ ] Export metrics as JSON / CSV
- [ ] Lighthouse integration for automated INP regression detection
Author
Vikash Kumar — github.com/vikashkr05 · linkedin.com/in/vikashkumar108
