- Introduction (30 mins)
- Core Concepts (2-2.5 hrs)
- Hands-on Project (2.5 hrs)
- Q&A & Best Practices (1 hr)
- What is React? Why use it?
- Differences between Vanilla JS & React
- React vs. Other Frameworks (Angular, Vue)
- Setting up the environment (Node.js, npm, Vite/CRA)
- Installing dependencies (
npx create-react-app my-app
ornpm create vite@latest my-app --template react
)
- JSX Basics & why it's needed
- Functional Components vs. Class Components
- Props & Default Props
- Hands-on: Create a simple
ProfileCard
component with props
useState
Hook- Handling events & state updates
- Hands-on: Create a Counter App using
useState
useEffect
Hook- Fetching data using
fetch()
oraxios
- Hands-on: Fetch & display user data from a public API (e.g., JSONPlaceholder)
- Why use a router?
- Setting up
react-router-dom
- Creating multiple pages (Home, About, Contact)
- Hands-on: Basic multi-page app
- Setup project folder & install dependencies
- Create components: Header, TaskList, AddTask, Footer
- Use
useState
to manage tasks - Add
useEffect
for local storage (optional) - Style using Tailwind CSS (optional)
- Bonus: Implement a delete task feature
- Common mistakes beginners make
- Component structuring & best practices
- When to use context, state management (Redux, Zustand)
- Deployment options (Vercel, Netlify)
- Open floor for questions
- Basic HTML, CSS, JavaScript knowledge
- Laptop with Node.js installed
- VS Code & GitHub (optional)