- 1 Introduction & Environment Setup The "Why" Before the "How": What is React?Setting up your Environment: Node.js & npm BasicsYour First React App: Scaffolding with ViteUnderstanding the React Project Structure
- 2 React Fundamentals: JSX & Components JSX: Writing HTML inside JavaScriptThinking in Components: UI as Building BlocksCreating Functional ComponentsImporting and Exporting Components Effectively
- 3 Props: Passing Data Around What are Props? (Communicating between components)Passing Strings, Numbers, and ArraysThe `children` Prop: Composing ComponentsDestructuring Props for Cleaner Code
- 4 State: Making Components Interactive Introduction to State & the `useState` HookHandling User Events (onClick, onChange)Updating State Based on Previous StateState vs. Props: Understanding When to Use Which
- 5 Rendering Lists & Conditional Rendering Rendering Arrays of Data using `.map()`The Importance of "Keys" in React ListsConditional Rendering with Ternary Operators (`? :`)Short-circuit Evaluation (`&&`) in UI
- 6 Working with Forms in React Controlled Components: Tying Inputs to StateHandling Form Submissions & Preventing DefaultsManaging Multiple Inputs with a Single State ObjectUncontrolled Components & `useRef` (A Practical Introduction)
- 7 The `useEffect` Hook: Managing Side Effects What is a Side Effect? (Fetching data, timers, etc.)The Dependency Array: Controlling When Effects RunCleanup Functions: Preventing Memory LeaksCommon `useEffect` Mistakes and How to Avoid Them
- 8 Data Fetching & APIs Fetching Data with the Native `fetch` APIHandling Loading and Error States in the UIAbstracting Fetch Logic into Custom HooksModern Data Fetching: Introduction to React Query / SWR
- 9 Routing: Building Single Page Applications (SPAs) Introduction to React RouterSetting up Routes and Navigation (`Link` and `NavLink`)Dynamic Routing with URL Parameters (`useParams`)Programmatic Navigation (`useNavigate`)
- 10 Styling React Applications Standard CSS and Global StylesCSS Modules: Scoping Styles to ComponentsUtility-First Styling with Tailwind CSSCSS-in-JS Overview (Styled Components Basics)
- 11 Context API: Avoiding Props Drilling The Problem: Prop Drilling ExplainedCreating and Providing ContextConsuming Context with `useContext`Building a Global Theme or Auth Provider
- 12 Advanced Hooks & Performance Optimization `useReducer`: Managing Complex State LogicCaching Expensive Calculations with `useMemo`Stabilizing Functions with `useCallback`React.memo: Preventing Unnecessary Re-renders
- 13 Next Steps & The Modern React Ecosystem Introduction to State Management Libraries (Zustand / Redux Toolkit)Why Server-Side Rendering (SSR)? (Intro to Next.js)Testing React Components (Vitest & React Testing Library)Deploying Your React Application for the World to See