Data Fetching

  1. What is getStaticProps?
  2. What is getServerSideProps?
  3. Difference between them?
  4. What is getStaticPaths?
  5. What is fallback in getStaticPaths?
  6. When should you use SSG vs SSR?
  7. How does ISR work?
  8. How does caching work in Next.js?

Rendering Strategy

  1. How do you decide between CSR, SSR, SSG, ISR?
  2. How does hydration work?
  3. What is streaming in Next.js?

Routing & Navigation

  1. How does client-side navigation work?
  2. What is prefetching?
  3. How does Next.js optimize routing?

App Router Concepts

  1. What is App Router?
  2. Difference between App Router and Pages Router?
  3. What are layouts?
  4. What are templates?
  5. Difference between layout and template?
  6. What is loading.js?
  7. What is error.js?
  8. What is not-found.js?

React Integration

  1. What is useEffect and its role?
  2. What are Server Components?
  3. What are Client Components?
  4. What is use client directive?

Performance Optimization

  1. What is code splitting?
  2. What is lazy loading?
  3. How to optimize images?
  4. How to optimize fonts?
  5. How to reduce bundle size?

API & Backend

  1. How do API routes work internally?
  2. What is serverless deployment?
  3. What are route handlers?

Security

  1. How to handle CORS?
  2. How to manage cookies?
  3. How to secure API routes?

Middleware

  1. How does middleware work?
  2. Use cases of middleware?

Configurations

  1. What is next.config.js headers?
  2. What is rewrites?
  3. What is redirects?

Authentication

  1. How do you implement authentication?
  2. JWT vs session-based auth?
  3. What is NextAuth?

Styling

  1. Styling options in Next.js?
  2. CSS-in-JS vs CSS Modules?

Debugging & Testing

  1. How to debug Next.js apps?
  2. Testing strategies?

Internationalization

  1. How to implement i18n?
  2. What is next-i18next?

Dev Experience

  1. Why use Create Next App?
  2. What is Fast Refresh vs HMR?

Deployment

  1. What is serverless architecture?
  2. Advantages of serverless?

Misc

  1. What is next/dynamic?
  2. What is ssr: false?
  3. How to use custom server?
  4. What is singleton router?
  5. How does Next.js handle environment configs?