← Back to Week 8
React Review & Work Time
February 25, 2026 — Slides: React Review & Work Time
Topics Covered
Quiz 4: Frequently Missed Questions
- Review of commonly missed questions from Quiz 4
- Clarified concepts around React state, props, routing, and hooks
Firebase Hosting
- GitHub Pages cannot cleanly handle client-side routing — use Firebase Hosting instead
- Firebase is a web backend solution providing multiple features without custom server code
- Firebase features: Web Hosting, Databases, User Authentication
- Database and auth features covered in later weeks
React Deployment to Firebase
- Combine Firebase command-line tools with Vite build scripts to deploy React apps
- Follow Project Draft 2 instructions on Canvas for setup steps
- Reference: Vite: Deploying to Firebase
Open Review & Work Time
- Community-driven review topics selected via poll
- Work time for Problem Set 08 and Project Draft 2
Key Concepts
- Firebase: A web backend solution providing hosting, databases, and user authentication
- Firebase Hosting: Supports client-side routing (unlike GitHub Pages) for React SPAs
- Deployment: Use
npm run build (Vite) to create production bundle, then deploy with Firebase CLI