Becomes React Developer
Full Beginner’s Tutorial
资源列表
信息
After this course
🧭 What You Already Know
✅ React fundamentals (components, props, hooks like useState, useEffect, useRef)
✅ Functional components + event handling
✅ Local state + derived state
✅ Rendering optimization basics
✅ Some CSS (plain or Tailwind intro)
Next plain
🧩 1️⃣ React Router (Navigation Between Pages)
Why: Every real app has multiple screens (home, login, detail, etc.).
Learn
- 📺 React Router v6 Crash Course — Web Dev Simplified (1h)
- Topics:
<BrowserRouter>/<Routes>/<Route>- URL params (
useParams) - Navigation (
useNavigate) - Nested routes, layout routes(json and xml reusable routes)
- useLocation
- useSearchParams
⚙️ 2️⃣ State Management Beyond useState
Why: When your app grows, multiple components share data.
You can learn either:
- 🔸 Redux Toolkit (most popular) or
- 🔸 Zustand (simpler but powerful — modern favorite)
Learn
- 📺 React Redux Full Course for Beginners | Redux Toolkit Complete Tutorial
- Optional: Zustand in 15 Minutes — Web Dev Simplified
Practice
- Move your “game state” or “user info” to Redux/Zustand store.
- Add a “Reset All Games” button that clears state globally.
🧠 3️⃣ Other Hooks You Should Know
| Hook | Use | Example |
|---|---|---|
useMemo | Cache expensive computations | Score calculation |
useCallback | Prevent function re-creation | Pass stable event handlers |
useLayoutEffect | Runs before paint (rare) | Measure DOM |
useReducer | Complex state logic | Form or game state machine |
useId | Unique IDs for accessibility | Label input pairs |
useContext | Share global data (like theme) | Theme toggling |
Learn
Practice
- Refactor your Tenzies
rollDicelogic to useuseCallback. - Add a “statistics” computation with
useMemo.
🎨 4️⃣ CSS Modules + Tailwind (Combine)
Why: Learn component-scoped CSS + utility-first design.
Learn
Practice
- Create a small “profile card” component using CSS Module for layout + Tailwind for colors.
🌐 5️⃣ Fetching and Managing API Data (Preparation for Backend)
Why: Needed to connect with your Spring Boot APIs soon.
Learn
fetchandaxiosbasics- CORS concept
- React Query (for caching and retries)
📺 React Query Crash Course — Dev Ed
Practice
- Mock an API using
jsonplaceholder.typicode.com. - Display posts and simulate loading/error states.
🧱 Suggested Next-Step Sequence
| Week | Focus | Output |
|---|---|---|
| Week 1 | React Router + small navigation project | “Game Hub” with multiple pages |
| Week 2 | Redux Toolkit or Zustand | Global state manager |
| Week 3 | Advanced hooks (useMemo, useCallback, useReducer) | Optimized game |
| Week 4 | CSS Modules + Tailwind deep dive | Styled portfolio component |
| Week 5 | API calls + data fetching | Connected front-end with mock APIs |
| Week 6 | Start Spring Boot REST backend | Begin full-stack integration |