Next.js Course
Master Next.js from React fundamentals to App Router, Server Components, caching, auth, security, and enterprise full-stack architecture.
Beginner → Architect · 95h guided content · 207 lessons · 32 modules
Architecture
Next.js Application Architecture
React is the UI library. Next.js is the framework: App Router, Server Components, Client Components, Server Actions, Route Handlers, and caching.
What you will learn
From React fundamentals to App Router, Server Components, caching, auth, security, performance, and enterprise Next.js architecture.
Built for Beginner → Architect learners who want a structured Next.js path with free lessons, examples, and progress tracking — not a paid certificate program.
Practical projects
Interview preparation
Exercises & practice
Related courses
Other live tracks in UI — same free, hands-on format.
HTML
Structure the content of every web page.
Beginner · 139 lessons
CSS Mastery
From styling basics to frontend engineering — rendering, performance, design systems, and architecture.
Beginner → Architect · 203 lessons
Angular
Build large-scale, type-safe apps with components & signals.
Beginner → Pro · 42 lessons
React
Modern frontend engineering with React, Hooks, Routing, State Management and production UI systems.
Beginner → Pro · 120 lessons
TypeScript
From JavaScript foundations to advanced types, framework integration, enterprise architecture, security, performance, and interviews.
Beginner → Architect · 102 lessons
Frequently asked questions
Enterprise learning path
Next.js Tutorial
- 1Next.js HomeNext up
Start the Next.js course with a roadmap from React fundamentals to App Router, Server Components, caching, security, and enterprise architecture.
- 2What is Next.js?
Define Next.js as a React framework, distinguish it from React, and learn the application capabilities, architecture, and server/browser boundaries that make Next.js valuable for TechLearningPro.
- 3Why Next.js?
Understand when teams choose Next.js for SEO, performance, and full-stack React, and when another stack fits better.
- 4React vs Next.js
Compare React as a UI library with Next.js as a React framework that owns routing, rendering, and server boundaries.
- 5Next.js Architecture
See Browser, App Router, Server Components, Client Components, Server Actions, Route Handlers, and data layers.
- 6Next.js App Router Overview
Introduce the App Router as the modern Next.js routing and rendering model based on the app directory.
- 7Next.js Installation
Install Next.js with create-next-app, Node.js requirements, and TypeScript defaults for TechLearningPro.
- 8Create Your First Next.js Application
Create, run, and understand the first page rendered by Next.js without inventing custom backends.
- 9Next.js Project Structure
Organize app, components, lib, and public so server and client code stay intentional.
- 10Development Server
Use next dev for local development, Fast Refresh, and environment-aware configuration.
- 11Production Build
Build and start a production Next.js output and understand what is pre-rendered versus dynamic.
- 12Environment Variables
Use NEXT_PUBLIC_ versus server-only env vars and keep secrets off the client. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
App Router Fundamentals
- 13App Directory
Learn how the app directory defines routes, layouts, and conventions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 14Pages
Use page.tsx as the UI for a route segment. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 15Layouts
Share UI across routes with layout.tsx that persists during navigation. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 16Nested Layouts
Compose nested layouts for sections like courses and dashboards. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 17Route Segments
Understand segments, partial rendering, and how URLs map to folders. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 18Dynamic Routes
Create [slug] and [id] params with typed props in modern Next.js. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 19Catch-All Routes
Use [...slug] for multi-segment paths like docs trees. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 20Optional Catch-All Routes
Use [[...slug]] when the segment may be empty. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 21Route Groups
Organize routes with (group) folders that do not affect the URL. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 22Private Folders
Use _folder conventions for colocation without routing. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 23Linking and Navigation
Navigate with next/link and understand client transitions versus full reloads. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 24not-found
Customize 404 UI with not-found.tsx and notFound(). This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 25error
Recover from segment errors with error.tsx client boundaries. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 26loading
Show instant loading UI with loading.tsx and Suspense. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 27redirect and notFound
Use redirect() and notFound() for server-side control flow. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Rendering Architecture
- 28Server Components
Explain React Server Components in Next.js: default server execution, no client bundle cost for server-only code.
- 29Client Components
Mark interactive islands with use client and keep them small. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 30Server vs Client Execution
Reinforce where code runs and what APIs are legal in each environment. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 31"use client"
Understand the use client directive as a bundle boundary, not a runtime toggle per function.
- 32Component Boundaries
Compose Server and Client Components with props that serialize across the boundary.
- 33Server Component Benefits
List benefits: smaller bundles, direct data access, secure secrets, streaming. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 34Client Component Trade-offs
Weigh hydration cost, bundle size, and interactivity needs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 35Component Composition
Pass Server Components as children into Client Components to keep heavy UI on the server.
- 36Serialization
Explain what can cross the RSC boundary and why Dates and Maps need care. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 37Hydration
Connect HTML/RSC payload to client interactivity and hydration mismatches. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 38Streaming
Stream HTML with Suspense so users see content progressively. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Rendering Strategies
- 39Static Rendering
Pre-render routes when data can be known ahead of requests. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 40Dynamic Rendering
Render per request when data depends on cookies, headers, or uncached fetches. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 41Server Rendering
Generate HTML on the server for the request or cached result. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 42Client Rendering
Fetch and render in the browser after JS loads when appropriate. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 43Streaming Rendering
Combine server rendering with progressive streaming of Suspense boundaries. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 44Pre-rendering and Revalidation Concepts
Explain incremental freshness without outdated universal cache claims. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 45Hybrid Rendering
Mix static shells with dynamic islands and document trade-offs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Data Fetching
- 46Fetching Data in Server Components
Fetch on the server with async components and keep credentials server-side. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 47Client-Side Data Fetching
Use client fetching for user-driven refreshes and highly interactive views. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 48Request Memoization Concepts
Explain per-request deduplication concepts and verify version behavior. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 49Parallel Data Fetching
Start independent fetches together to reduce waterfalls. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 50Sequential Data Fetching
Sequence fetches only when later calls need earlier results. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 51Loading UI
Design skeletons and Suspense fallbacks that match layout. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 52Error Handling for Data Fetching
Map fetch failures to error.tsx and domain errors. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 53Streaming and Suspense
Stream slow panels while showing fast content first. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 54Data Caching Overview
Introduce caching layers without outdated universal rules. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 55Revalidation and Cache Invalidation
Invalidate or revalidate when content changes; APIs vary by Next.js version. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Caching
- 56Request-Level Caching Concepts
Describe request memoization versus cross-request caches carefully. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 57Data Caching
Cache fetched data with version-correct APIs and document assumptions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 58Full Route Caching
Cache entire routes when output is shareable. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 59Client-Side Caching
Use browser and client library caches for UX, not as source of truth. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 60Time-Based Revalidation
Refresh on an interval when eventual consistency is acceptable. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 61On-Demand Revalidation
Trigger revalidation after mutations. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 62Cache Tags
Tag cached entries for targeted invalidation when supported. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 63CDN and Browser Caching
Place CDN and Cache-Control in the overall architecture. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Server Actions
- 64What are Server Actions?
Define Server Actions as server functions callable from forms and clients with clear trust boundaries.
- 65"use server"
Mark server modules or inline actions with use server. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 66Form Actions
Wire HTML forms to Server Actions with progressive enhancement. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 67Mutations
Perform creates/updates/deletes in actions with transactions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 68Validation
Validate FormData and JSON on the server every time. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 69Authentication in Server Actions
Resolve identity inside actions; do not trust client claims. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 70Authorization in Server Actions
Check permissions for the resource being mutated. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 71Error Handling
Return safe errors and log internals. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 72Optimistic UI
Update UI optimistically then reconcile with server results. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 73Revalidation after Actions
Refresh cached views after successful mutations using version-correct APIs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 74Security Considerations
Treat actions as public endpoints: CSRF considerations, authn, authz, input limits.
Routing
- 75App Router Routing Deep Dive
Deepen URL matching, soft navigation, and segment rendering. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 76Nested Routes
Nest routes for hierarchical UI. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 77Route Groups Advanced
Use groups for multiple roots and conditional chrome. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 78Parallel Routes
Render multiple pages in the same layout with @slots. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 79Intercepting Routes
Intercept navigations to show modals while keeping URLs shareable. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 80Programmatic Navigation
Navigate in event handlers with the App Router. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 81useRouter, usePathname, useSearchParams
Read location state in Client Components via hooks. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 82Query Parameters
Encode filters in the URL for shareable state. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 83Navigation Patterns
Design breadcrumbs, back stacks, and cancel flows. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 84Protected Routes
Gate routes with server checks and proxy redirects. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 85Route-Level Loading and Error Handling
Combine loading.tsx and error.tsx per segment. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Route Handlers & Backend
- 86Route Handlers Overview
Introduce route.ts handlers as Next.js HTTP endpoints. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 87GET POST PUT PATCH DELETE
Implement REST-ish handlers with correct methods. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 88Request and Response
Parse Request and return Response with status codes. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 89Headers and Cookies
Read/write headers and cookies carefully on the server. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 90Authentication and Validation
Authenticate and validate inputs in handlers. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 91Error Handling and API Design
Design stable error envelopes for API clients. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 92Next.js Route Handlers vs Express vs Dedicated Backend
Compare colocated handlers, Express, and separate services. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Databases
- 93Database Integration
Connect databases only from server code. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 94PostgreSQL and MySQL
Use SQL databases from Next.js server modules. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 95MongoDB
Use MongoDB carefully with application schemas. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 96Prisma
Use Prisma as a server-side ORM with migrations. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 97Drizzle
Use Drizzle for SQL-centric typed access. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 98Connection Management
Manage pools in serverless and long-lived Node hosts differently. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 99Queries and Transactions
Keep multi-row invariants in transactions on the server. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 100Migrations
Evolve schema with versioned migrations. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 101Repository Patterns
Hide DB behind repositories used by server actions and RSC. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 102Server-Side Database Access Rules
Codify rules: no DB in client, validate tenant, log query cost. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Authentication
- 103Authentication Fundamentals
Define authentication as proving identity. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 104Sessions and Cookies
Prefer secure cookies for web sessions when appropriate. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 105JWT Authentication Tokens
Use JWTs carefully with short TTL and rotation strategies. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 106OAuth and OpenID Connect
Delegate identity with OAuth/OIDC correctly. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 107Login Architecture
Design login, session creation, and failure modes. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 108Logout and Session Management
Invalidate sessions and clear cookies on logout. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 109Protected Routes
Protect App Router segments with server checks and proxy redirects. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Authorization
- 110Role-Based Access Control
Assign roles that bundle permissions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 111Permission-Based Access
Authorize by permission keys for finer control. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 112Resource Authorization
Authorize against a loaded resource to prevent IDOR. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Security
- 113OWASP and Next.js
Map OWASP risks to Next.js apps. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 114Cross-Site Scripting (XSS)
Prevent cross-site scripting in React/Next output and markdown. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 115CSRF
Understand CSRF for cookie sessions and action endpoints. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 116CORS
Configure CORS for browser clients; it is not authorization. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 117Authentication and Cookie Security
Harden sessions, cookies, and token storage. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 118Secrets and Environment Variables
Keep secrets server-only and rotate them. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 119SQL Injection and Input Validation
Parameterize queries and validate all inputs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 120SSR, Server Actions, and Route Handler Security
Treat every server entry as public attack surface. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 121Security Headers and CSP
Set CSP and security headers appropriately. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 122Rate Limiting and Supply Chain Security
Rate-limit auth and review dependencies. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Forms
- 123Forms in Next.js
Build forms with progressive enhancement using Server Actions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 124FormData
Read FormData on the server safely. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 125Client and Server Validation
Use client UX validation plus mandatory server validation. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 126Zod Runtime Validation
Validate with Zod (or similar) on the server. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 127Error Handling, Pending States, and Optimistic UI
Show field errors and pending UI during actions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 128Multi-Step Forms and Enterprise Form Architecture
Design wizards with URL or server-stored drafts. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
SEO
- 129Metadata
Set titles and descriptions with the Metadata API. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 130Static and Dynamic Metadata
Use static metadata for fixed pages and generateMetadata for dynamic routes. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 131Open Graph and Twitter/X Cards
Configure social previews. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 132Canonical URLs, Robots, and Sitemap
Avoid duplicate URL SEO issues. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 133Structured Data and Dynamic SEO
Add JSON-LD for courses carefully. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Images & Assets
- 134next/image
Use next/image for responsive optimized images. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 135Image Optimization, Lazy and Priority Loading
Balance priority LCP images versus lazy below-fold. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 136Remote Images and Image Security
Allowlist remote hosts; do not open arbitrary URLs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Fonts
- 137Font Optimization
Load fonts without layout shift. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 138Local Fonts, Google Fonts, and CLS
Prefer local/self-hosted fonts for control. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Performance
- 139Core Web Vitals
Connect UX metrics to Next.js architecture choices. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 140LCP, INP, and CLS
Improve each metric with concrete Next.js techniques. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 141Bundle Size and JavaScript Reduction
Keep client bundles small with Server Components. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 142Code Splitting and Lazy Loading
Split heavy client widgets. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 143Streaming Performance
Use streaming to improve perceived performance. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 144Caching, CDN, and Compression
Align caches and CDN with privacy and freshness. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 145Database and API Performance
Fix N+1 and slow APIs before adding instances. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Error Handling
- 146error.tsx
Recover at segment boundaries with client error UI. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 147not-found.tsx Deep Dive
Customize missing resource UX. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 148loading.tsx Deep Dive
Instant pending states for segments. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 149Global Error Handling, Logging, and Production Errors
Log with request IDs; hide internals from users. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
State Management
- 150Local State
Keep ephemeral UI state local. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 151Context
Share limited UI state without prop drilling. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 152URL State
Store shareable state in the URL. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 153Server State
Treat server data as source of truth with cache/revalidate. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 154Global State: Zustand, Redux, TanStack Query
Choose global tools only for clear cross-tree client needs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Testing
- 155Unit and Component Testing
Test pure logic and components with RTL. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 156Integration and API Testing
Test handlers and DB against test instances. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 157Server Component, Action, and Route Handler Testing
Test server entrypoints with appropriate harnesses. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 158End-to-End Testing with Playwright or Cypress
Cover critical journeys sparingly. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 159Accessibility Testing
Automate a11y checks and manual keyboard flows. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
TypeScript
- 160Page Props, Route Params, and Search Params
Type App Router props and validate at runtime. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 161API Types, Server Action Types, and DTOs
Separate wire DTOs from domain types. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 162Component Props and Generic Components
Type reusable UI without any. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Proxy & Request Interception
- 163Proxy Overview (Next.js 16)
Explain proxy.ts as the current request interception convention replacing middleware.ts in Next.js 16.
- 164Proxy vs Deprecated Middleware
Document that middleware.ts is deprecated in Next.js 16; migrate to proxy.ts, note Edge differences.
- 165Redirects, Rewrites, and Headers
Use proxy for small request-time routing decisions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 166Authentication Checks in Proxy
Gate sessions early but still enforce authz in Server Components and actions. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Internationalization
- 167Internationalization
Plan locales, messages, and SEO for multiple languages. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 168Locale Routing and Language Detection
Encode locale in the URL and detect carefully. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 169Translation Architecture and Multilingual SEO
Own translation workflow and hreflang. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Real-Time Applications
- 170WebSockets and Server-Sent Events
Choose push technologies and when a dedicated realtime backend wins. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 171Polling
Use polling when infrequent updates suffice. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 172Real-Time Architecture, Notifications, and Chat
Combine Next.js UI with durable event backends when needed. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Micro Frontends
- 173Micro Frontend Concepts
Explain independent deployable frontends and when not to use them. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 174Next.js in Micro Frontend Architecture
Integrate Next.js apps with clear contracts. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 175Module Federation, Shared Dependencies, and Ownership
Share dependencies carefully; own deploy boundaries. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Enterprise Architecture
- 176Feature-Based Architecture
Slice by feature verticals. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 177Domain-Based Architecture
Align modules to domains. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 178Clean Architecture and Layered Architecture
Keep domain free of Next.js imports. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 179Server/Client Boundaries
Codify import rules and server-only packages. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 180Shared Libraries and Design Systems
Share UI without sharing secrets. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 181Monorepos with Nx or Turborepo
Share packages with a task graph. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 182Multi-Team Development and Multi-Tenant Applications
Isolate tenants and team ownership. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 183API, Database, and Caching Architecture
Draw end-to-end data flow for TechLearningPro. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 184Observability in Enterprise Next.js
Standardize logs, metrics, traces across apps. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 185Deployment Architecture
Choose Vercel, containers, or hybrid consciously. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Observability
- 186Structured Logging
Log JSON with request IDs. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 187Metrics and Tracing
Track RED metrics and traces. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 188Request IDs, Error Tracking, and Production Diagnostics
Correlate errors across server and browser. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Deployment
- 189Production Build and Environment Configuration
Build once; configure per environment. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 190Hosting: Vercel, Docker, and Self Hosting
Compare managed Next hosting versus containers. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 191CDN, Reverse Proxy, and Load Balancing
Put TLS and caching at the edge when appropriate. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 192CI/CD and Preview Deployments
Ship via pipeline with preview apps. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Scalability
- 193Horizontal Scaling and Stateless Architecture
Run interchangeable Next.js instances. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 194Database Scaling and Connection Management
Scale data with indexes, pools, replicas. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 195Background Jobs, Queues, and Distributed Systems
Move slow work off the request path. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 196Serverless Scaling and Container Scaling
Understand cold starts versus always-on containers. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Next.js Projects
- 197Project: TechLearningPro
Build the learning platform shell with App Router, RSC course pages, auth, and SEO.
- 198Project: Enterprise E-Commerce
Design catalog, cart, checkout with rendering and cache strategies. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 199Project: SaaS Dashboard
Ship an authenticated dashboard with streaming widgets. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 200Project: Learning Management System
Model cohorts, assignments, and grading workflows. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 201Project: Authentication Platform
Centralize login, sessions, and OAuth for apps. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 202Project: Real-Time Collaboration Application
Combine Next.js UI with a realtime backend. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 203Project: AI-Powered Application
Integrate model APIs behind server actions with budgets. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
- 204Project: Enterprise Multi-Tenant SaaS
Add tenancy, roles, audit, and isolation checks. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.
Practice & Evaluation
- 205Next.js Interview Questions
Practice Next.js interviews covering RSC, caching, proxy, and architecture trade-offs.
- 206Next.js Quiz
Check App Router, RSC, caching, security, and deployment knowledge with scenarios.
- 207Next.js Exercises
Practice katas composing RSC, actions, validation, and tests. This Next.js lesson connects the idea to server/client boundaries, production apps, and TechLearningPro.