Make sure you're confident in:
- Semantic HTML
- Flexbox & Grid
- Forms
- Media Queries
let
,const
, arrow functionsmap
,filter
,reduce
- Spread/rest operators
- Destructuring
- Callbacks, Promises, async/await
this
, closures, scope, hoisting- DOM manipulation
- Clone, commit, push, pull
- Creating branches
- README writing
π― Goal: Understand the core building blocks of React.
-
Install Node.js & npm
-
Create a project using:
npx create-react-app my-app
or use Vite for a faster setup:
npm create vite@latest
- Embedding expressions
- Differences from HTML (e.g.,
className
vsclassName
)
- Functional components
- Props
- Reusability
useState
hook- Updating and rendering state
- Handling user input
- Passing functions as props
if/else
, ternary operator&&
short-circuit
- Rendering lists with
.map()
- Importance of unique
key
- CSS Modules
- Inline Styles
- Styled Components (optional)
- TailwindCSS (optional)
π― Goal: Build apps that can manage UI logic better.
useEffect
for side effects (API calls, event listeners)useRef
for accessing DOM or persisting valuesuseContext
for prop drilling avoidance
- Using
fetch
oraxios
- Loading and error states
onChange
,value
in inputs- Controlled vs Uncontrolled forms
- Form validation (optional: libraries like Formik/Yup)
- Children props
- Higher Order Components (HOC)
- Custom Hooks
π― Goal: Build multipage apps.
-
Installation:
npm install react-router-dom
-
Basic Routing:
<BrowserRouter>
,<Routes>
,<Route>
-
Route Parameters
-
Navigation:
useNavigate()
-
Nested Routes
-
404 Pages
π― Goal: Create scalable and performant React apps.
- Context API
- Redux Toolkit or Zustand (recommended)
- When to use global state?
React.lazy
,Suspense
React.memo
,useMemo
,useCallback
- Virtualization (React Window)
- Unit Testing with Jest
- Component Testing with React Testing Library
Level | Project Idea | Concepts Covered |
---|---|---|
π° | Counter App | useState, Events |
π‘ | Todo List | Lists, Forms, State |
π | Weather App (API) | useEffect, Fetch API |
π΅ | Quiz App | Conditional Rendering, State, Events |
π΄ | Blog App with Routing | Router, Forms, Context API |
π£ | Expense Tracker with Charts | Local Storage, useEffect, Third-party libs |
- React Developer Tools (Chrome Extension)
- VSCode Extensions: ESLint, Prettier, React Snippets
- Material UI
- Chakra UI
- Tailwind CSS
- Vite (Fast React dev server)
- Figma (for UI design)
- Netlify / Vercel (for deployment)
-
Build using:
npm run build
-
Deploy using:
- Netlify
- Vercel
- GitHub Pages
-
Docs: https://react.dev/
-
YouTube:
freeCodeCamp React Course
Codevolution
Web Dev Simplified
chai ur code
-
Practice:
- frontendmentor.io
- devchallenges.io
- [codewell.cc](https://www.codewell.cc
-
Introduction to React v19
-
JSX and Rendering Elements
-
Components and Props
-
State and Lifecycle
-
Handling Events
-
Conditional Rendering
-
Styled Components
- Object Based Styling
- Template literal Styling
-
Event Handling
-
Passing Event Handlers as a Props
-
Event Propagation
- Capturing Phase
- Target Phase
- Bubbling Phase
-
states & how state works
-
Derived States
-
Project: Toggle Switch (Palying with States)