nextjs
Installation
SKILL.md
What I do
- Build server-side rendered React applications
- Create API routes and serverless functions
- Implement file-based routing with dynamic routes
- Use getStaticProps, getServerSideProps, and getStaticPaths
- Optimize performance with SSR, SSG, and ISR
- Handle authentication with NextAuth.js
- Use TypeScript for type safety
When to use me
When building modern React applications with SSR, API routes, or full-stack capabilities.
Pages Router
// pages/index.tsx
import { GetServerSideProps } from 'next'
interface Props {
data: User[]
}