I'm learning React by building components from scratch, one step at a time — from the basics to advanced concepts. This roadmap helps me stay consistent and track progress.
Learning to build simple, reusable UI components
- ✅ Button component (with props)
- ✅ Alert/Message display
- ✅ Avatar (image + name)
- Badge (dynamic label)
- Card (title, image, description)
Understanding
useStateand handling user actions
- Counter (increment/decrement)
- Toggle switch (on/off)
- Like button (heart icon toggle)
- Input Mirror (input box, live text below)
- Dropdown menu (show/hide items)
- Tabs (switching content)
Working with form elements and controlled components
- Controlled input field
- Login form with validation
- Todo item (checkbox, delete)
- Search bar with filter
- Rating stars (1 to 5)
Passing props, rendering lists, lifting state
- Todo list (add/remove/edit)
- Accordion (expand/collapse)
- Image gallery
- Product cards grid (from JSON)
- Comment box (text area + post)
Learning
useEffect, data fetching, and custom hooks
- Weather widget (API)
- GitHub profile card (fetch + render)
- Theme switcher (light/dark using Context)
- Stopwatch/Timer (with intervals)
- Pagination component (page through data)
Building real-world, interactive features
- Modal / Popup component
- Toast notifications
- Multistep form wizard
- Drag and drop list
- Mini Trello (Kanban board)
- ✅ Build one component per day
- ✅ Keep everything in a
/componentsfolder - ✅ Use props, state, and hooks correctly
- ✅ Write clean, reusable code
Check back as I update this roadmap and check off components I've completed.
Feel free to fork this if you're learning React too!