Modern Frontend Development: React Teaching Sequence
DraftURL: https://ruvebal.github.io/web-atelier-udit/lessons/en/react/
π Table of Contents
- π― Curriculum Overview
- π Phase 1: Foundations
- π Phase 2: React Deep Dive
- π Phase 3: Integration
- π Phase 4: Mastery
- πΊοΈ Lesson Dependency Graph
- π Lesson Template
βThe journey of a thousand apps begins with a single commit.β
π― Curriculum Overview
This teaching sequence guides students from philosophical foundations through React mastery, preparing them for autonomous, critical development in the age of AI-assisted programming.
The Learning Arc
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SEMESTER ARC β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β PHASE 1: FOUNDATIONS (Weeks 1-3) β
β ββββββββββββββββββββββββββββββ β
β 1. Philosophy & Vision βββΊ Why we code critically β
β 2. Frameworks Comparison βΊ Choose tools with intent β
β 3. State & UI βββββββββββΊ The core of interactivity β
β 4. AI-Assisted Dev ββββββΊ Use AI as a collaborator β
β β
β PHASE 2: REACT DEEP DIVE (Weeks 4-7) β
β βββββββββββββββββββββββββββββββββ β
β 5. React Fundamentals βββΊ Components, props, events β
β 6. Hooks Mastery ββββββββΊ useState, useEffect, custom β
β 7. State Architecture βββΊ Context, reducers, patterns β
β 8. Routing & Navigation βΊ React Router, protected routesβ
β β
β PHASE 3: INTEGRATION (Weeks 8-10) β
β ββββββββββββββββββββββββββββββ β
β 9. Backend Integration ββΊ Fetch, React Query, APIs β
β 10. Authentication ββββββΊ JWT, sessions, security β
β 11. Testing βββββββββββββΊ Vitest, RTL, Cypress β
β β
β PHASE 4: MASTERY (Weeks 11-12) β
β βββββββββββββββββββββββββββ β
β 12. Performance βββββββββΊ Memoization, code splitting β
β 13. Deployment ββββββββββΊ Vercel, CI/CD, environment β
β 14. Presentation ββββββββΊ Demo day, monograph β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Phase 1: Foundations
Lesson 1: Philosophy & Pedagogical Vision
File: modern-fe-intro
| Aspect | Details |
|---|---|
| Duration | 3 hours |
| Core Concept | The Tao Developer mindset |
| Key Outcomes | Understand atelier model, 5 pillars, project ideas |
What Students Learn:
- Why βCritical Coding for a Better Livingβ matters
- The Five Pillars: Mastery, Autonomy, Ethics, Simplicity, Future
- How to evaluate project ideas
- Semester structure and expectations
Connection to Next Lesson: Having established why we code critically, we now explore what tools to use.
Lesson 2: Framework Fundamentals
File: frameworks-comparative
| Aspect | Details |
|---|---|
| Duration | 4 hours (2 sessions) |
| Core Concept | Informed technology selection |
| Key Outcomes | Build same app in Vanilla/React/Vue, articulate trade-offs |
What Students Learn:
- What frameworks are and why they exist
- React vs Vue vs Vanilla: hands-on comparison
- Decision matrix for technology selection
- Vite setup and modern tooling
Connection to Next Lesson: With framework landscape understood, we dive deep into stateβthe heart of interactivity.
Lesson 3: State & UI
File: state-and-ui
| Aspect | Details |
|---|---|
| Duration | 3 hours |
| Core Concept | State as memory of interaction |
| Key Outcomes | Model UI as FSM, identify antipatterns, choose tools |
What Students Learn:
- Formal (FSM) and practical (UI) definitions of state
- The state taxonomy (UI, form, server, URL, shared)
- Statecharts for complex flows
- Antipatterns: derived state, boolean explosion, stale closures
Connection to Next Lesson: Understanding state prepares us for AI-assisted development, where validation replaces certainty.
Lesson 4: AI-Assisted Development Foundations
File: ai-assisted-development-foundations
| Aspect | Details |
|---|---|
| Duration | 2 hours |
| Core Concept | AI as collaborator, not replacement |
| Key Outcomes | Map AI to architecture patterns, understand trust models |
What Students Learn:
- LLMs as probabilistic reasoning engines
- Classical architecture (contracts, decomposition, security)
- Connecting AI to MVC/MVVM patterns
- Observability and human-in-the-loop design
Connection to Next Phase: With foundations solid, we now build fluency in React itself.
π Phase 2: React Deep Dive
Lesson 5: React Fundamentals (Coming Next)
Suggested File: react-fundamentals.md
| Topic | Content |
|---|---|
| Component Model | Function components, JSX syntax |
| Props | Passing data, prop types, children |
| Events | Handling clicks, forms, keyboard |
| Rendering | Conditional, lists, keys |
| Project Setup | Vite + React |
Hands-On: Build a component library with Button, Card, Input, Modal.
Lesson 6: Hooks Mastery
Suggested File: react-hooks.md
| Topic | Content |
|---|---|
| useState | Local state, updates, functional updates |
| useEffect | Side effects, cleanup, dependencies |
| useRef | DOM refs, mutable values |
| useMemo/useCallback | Performance optimization |
| Custom Hooks | Extracting reusable logic |
Hands-On: Build custom hooks: useFetch, useLocalStorage, useDebounce.
Lesson 7: State Architecture
Suggested File: react-state-architecture.md
| Topic | Content |
|---|---|
| useReducer | Complex state logic, actions |
| Context API | Sharing state across tree |
| External Libraries | Zustand, Redux Toolkit |
| When to Use What | Decision tree for state management |
Hands-On: Build a shopping cart with context + reducer.
Lesson 8: Routing & Navigation
Suggested File: react-routing.md
| Topic | Content |
|---|---|
| React Router v6 | Routes, Link, useNavigate |
| Dynamic Routes | URL parameters, useParams |
| Nested Routes | Layouts, Outlet |
| Protected Routes | Auth guards, redirects |
Hands-On: Multi-page app with auth-protected dashboard.
π Phase 3: Integration
Lesson 9: Backend Integration
Suggested File: react-backend-integration.md
| Topic | Content |
|---|---|
| Fetch API | GET, POST, error handling |
| Async Patterns | Loading states, race conditions |
| React Query | Caching, refetching, mutations |
| GraphQL | Optional: Apollo basics |
Lesson 10: Authentication
Suggested File: react-authentication.md
| Topic | Content |
|---|---|
| Auth Concepts | JWT, sessions, OAuth |
| Implementation | Login forms, token storage |
| Security | httpOnly cookies, XSS prevention |
| Third-Party | Firebase Auth, Auth0 |
Lesson 11: Testing
Suggested File: react-testing.md
| Topic | Content |
|---|---|
| Unit Testing | Vitest, testing pure functions |
| Component Testing | React Testing Library |
| Integration | Testing with mocked APIs |
| E2E | Cypress basics |
π Phase 4: Mastery
Lesson 12: Performance
Suggested File: react-performance.md
| Topic | Content |
|---|---|
| React DevTools | Profiler, component highlighting |
| Memoization | React.memo, useMemo, useCallback |
| Code Splitting | lazy(), Suspense |
| Bundle Analysis | Understanding what ships |
Lesson 13: Deployment
Suggested File: react-deployment.md
| Topic | Content |
|---|---|
| Build Process | Vite production build |
| Vercel/Netlify | Deploy from GitHub |
| Environment Variables | Secrets management |
| CI/CD | GitHub Actions basics |
Lesson 14: Final Presentation
| Component | Weight |
|---|---|
| Working application | 40% |
| Live demo | 15% |
| Technical presentation | 15% |
| Monograph | 20% |
| Reflection quality | 10% |
πΊοΈ Lesson Dependency Graph
βββββββββββββββββββ
β 1. Philosophy β
β modern-fe-introβ
ββββββββββ¬βββββββββ
β
βΌ
βββββββββββββββββββ
β 2. Frameworks β
β comparative β
ββββββββββ¬βββββββββ
β
ββββββββββββββββ΄βββββββββββββββ
βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ
β 3. State/UI β β 4. AI-Assisted β
β extended β β foundations β
ββββββββββ¬βββββββββ ββββββββββ¬βββββββββ
β β
ββββββββββββββββ¬ββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β 5. React β
β Fundamentals β
ββββββββββ¬βββββββββ
β
βββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββ βββββββββββββ βββββββββββββ
β 6. Hooks β β 7. State β β 8.Routing β
β Mastery β β Arch β β β
βββββββ¬ββββββ βββββββ¬ββββββ βββββββ¬ββββββ
β β β
βββββββββββββββββΌββββββββββββββββ
β
βββββββββββββββΌββββββββββββββ
βΌ βΌ βΌ
βββββββββββββ βββββββββββββ βββββββββββββ
β9. Backend β β10. Auth β β11. Testingβ
βββββββ¬ββββββ βββββββ¬ββββββ βββββββ¬ββββββ
β β β
βββββββββββββββΌββββββββββββββ
β
βββββββββββ΄ββββββββββ
βΌ βΌ
βββββββββββββ βββββββββββββ
β12. Perf β β13. Deploy β
βββββββ¬ββββββ βββββββ¬ββββββ
β β
βββββββββββ¬ββββββββββ
βΌ
βββββββββββββββββ
β 14. Final β
β Presentation β
βββββββββββββββββ
π Lesson Template
Use this template when creating new lessons:
# [Emoji] [Lesson Title]
> _"Inspirational quote"_
---
## π Table of Contents
[Generated from headers]
---
## Learning Objectives
By the end of this lesson, you will be able to:
- [ ] Objective 1 (Bloom's level: Understand/Apply/Analyze/Evaluate/Create)
- [ ] Objective 2
- [ ] Objective 3
---
## Prerequisite Knowledge
| Concept | Where It's Covered |
| ---------- | ------------------ |
| [Prereq 1] | [Lesson link] |
| [Prereq 2] | [Lesson link] |
---
## [Main Content Sections]
...
---
## Hands-On Activities
### π¬ Activity 1: [Name]
**Task**: ...
**Deliverable**: ...
---
## Reflection Questions
> π _[Question 1]_
> π _[Question 2]_
---
## Key Takeaways
- Takeaway 1
- Takeaway 2
- Takeaway 3
---
## References
- [Documentation links]
- [Articles]
- [Books]
---
## π Lesson Navigation
| Previous | Current | Next |
| --------------------------- | ------------------ | --------------------------------------------------- |
| [All Lessons](/lessons/en/) | **React Overview** | [Frameworks Comparative](./frameworks-comparative/) |
---
## π Assessment Alignment
| Lesson | Assessment Type | Weight |
| ------------------ | -------------------------- | ------ |
| 1-4 (Foundations) | Participation + Reflection | 10% |
| 5-8 (React Core) | Component Challenges | 20% |
| 9-11 (Integration) | Feature Implementation | 25% |
| 12-13 (Mastery) | Code Review + Optimization | 15% |
| 14 (Final) | Demo + Monograph | 30% |
---
## β
Completion Checklist
### Phase 1: Foundations β
- [x] `modern-fe-intro` β Philosophy & Vision
- [x] `frameworks-comparative` β Framework Comparison
- [x] `state-and-ui` β State & UI
- [x] `ai-assisted-development-foundations` β AI Theory & Architecture
### π Reference Guides
- [x] `ai-practical-guide.md` β **The Docs-First Methodology** (prompts, reports, MCP, workflows)
### Phase 2-4: React + Integration (Skeletons Ready for Iteration)
- [x] `react-fundamentals` β Components, JSX, props
- [x] `react-hooks` β useState, useEffect, custom
- [x] `react-state-architecture` β Context, reducers, Zustand
- [x] `react-routing` β React Router, protected routes
- [x] `react-backend-integration` β Laravel/Hygraph, React Query
- [x] `react-authentication` β Auth patterns, security
- [x] `react-testing` β Vitest, RTL, Cypress
- [x] `react-performance` β Optimization, Lighthouse
- [x] `react-deployment` β Shipping to production
- [x] `final-presentation` β Demo Day & Monograph
- [x] `react-deployment.md` β Vercel, CI/CD
### All 14 curriculum files created! π
---
> _"The next generation of Tao developers will code critically and autonomously, for a better living at the edge of AI-assisted programming."_