跳到主要内容

Becomes React Developer

course-tracker

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


⚙️ 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

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

HookUseExample
useMemoCache expensive computationsScore calculation
useCallbackPrevent function re-creationPass stable event handlers
useLayoutEffectRuns before paint (rare)Measure DOM
useReducerComplex state logicForm or game state machine
useIdUnique IDs for accessibilityLabel input pairs
useContextShare global data (like theme)Theme toggling

Learn

Practice

  • Refactor your Tenzies rollDice logic to use useCallback.
  • 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

  • fetch and axios basics
  • 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

WeekFocusOutput
Week 1React Router + small navigation project“Game Hub” with multiple pages
Week 2Redux Toolkit or ZustandGlobal state manager
Week 3Advanced hooks (useMemo, useCallback, useReducer)Optimized game
Week 4CSS Modules + Tailwind deep diveStyled portfolio component
Week 5API calls + data fetchingConnected front-end with mock APIs
Week 6Start Spring Boot REST backendBegin full-stack integration