Based on a FREE materials.
Prerequest for React - https://www.freecodecamp.org/news/javascript-concepts-you-should-know-before-learning-react/ :
- JS Basics article
- The Ternary Operator
- Destructuring
- The Spread operator
- Array methods The JavaScript Array Handbook
- Arrow Functions
- Promises
- Fetch API
- Async/Await article
- ES modules and Import/Export
(https://www.freecodecamp.org/news/how-to-learn-react-step-by-step/)
-
๐ค Weeks 1-2: Explore the New React Docs https://react.dev/
-
๐ป Week 3: Run a React Project on Your Computer
-
๐งฑ Weeks 4-6: Build Static React Projects
-
๐ ๏ธ Weeks 7-10: Build Dynamic React Projects
- Try to make 10+ mini dynamic apps that perform a simple task using state and events. They should be small, and take no longer than a day to make, such as a calculator, a video player, a todo list, an image carousel, a quote generator, and so on.
- Great example on FreeCodeCamp Build 25 React Projects โ Tutorial(9h 36m)
- Ideas React Projects for Beginners in 2023 โ Fun Ideas with Code
-
๐งโ๐ป Weeks 11-14: Build Your Developer Portfolio. Can be anything. Timetracker for example.
-
๐ Become a Professional React Developer. They recommend https://www.reactbootcamp.com/
(https://www.freecodecamp.org/news/the-react-roadmap-learn-react/)
- ๐งฑ Learn Core React Concepts.
- ๐ฃ Learn Core Hooks
- ๐ง Intermediate React Concepts
- ๐ ๏ธ Create React Apps with Vite
- ๐ Fetch Data with TanStack Query
- ๐คนโโ๏ธ Manage State with Zustand
- โจ Style with TailwindCSS and Radix
- ๐ชง Add Routing with TanStack Router
- ๐ Build Forms with React Hook Form
- ๐ฅ Full-Stack React Apps with Next.js
(https://www.freecodecamp.org/news/learn-react-key-concepts/)
- Functional Components
- Virtual DOM
- What is JSX
- Props in React
- Destructuring Props
- State in React
- State vs Props
- React Hooks
- React Event Handlers
- Data Flow in React
- Prop drilling
- Optimizing Performance In React Apps
The most important and frequently used of which are useState, useEffect, useRef (+refs), and useContext (+ Context API).
- Understand what causes React to render
- How to move business logic into reusable hooks
- Basic patterns like "lifting state up"
- How to use composition to avoid prop drilling and overusing context
npm create vite@latest my-react-app -- --template react
https://tanstack.com/query/latest/docs/framework/react/overview
Zustand - https://zustand-demo.pmnd.rs/ Redux Toolkit - https://redux-toolkit.js.org/ MobX - https://mobx.js.org/react-integration.html
TailwindCSS - https://tailwindcss.com/ Radix - https://www.radix-ui.com/
Better use React Router: https://reactrouter.com/en/main
https://react-hook-form.com/ Alternatives: Formik and Final Form.
Or Remix.