Part 4 · HTML/CSS · React · Next.js · data & state · AI interfaces
Frontend engineering
Enough frontend to ship a feature alone: semantic HTML, React, Next.js and the interface patterns AI products need (streaming, citations, review and approval).
L0 · InternL1 · Junior engineerL2 · Mid-level engineerL3 · Senior engineer
You don't have to be a frontend specialist to be a strong full-stack or applied AI engineer, but you must be able to build and reason about the interface. AI features live or die in the UI: a streaming answer that can be stopped, sources the user can check, and an "approve before send" button are product decisions as much as model ones.
This part uses React and Next.js (the App Router), the most common stack for AI product frontends.
Lessons in this part
- 4.1HTML, CSS and the browserSemantic HTML, the CSS layout systems you actually need, accessibility basics and how the browser renders a page.L0 · Intern5 min
- 4.2React fundamentalsComponents, props, state, effects and the rendering model, with the patterns that keep components predictable.L1 · Junior engineer5 min
- 4.3Next.js and the App RouterServer and client components, rendering modes (static, dynamic, streaming), route handlers and deployment, with the security rules for server code.L1 · Junior engineer5 min
- 4.4Data fetching, state and formsServer state versus client state, caching and revalidation, race-free fetching, and forms with validation and good error states.L2 · Mid-level engineer5 min
- 4.5Building AI interfacesStreaming text, stop buttons, citations, confidence, review-and-approve flows and feedback capture, and the API contract between AI backend and frontend.L3 · Senior engineer5 min