Đi tới nội dung

Frontend · Frontend Developer · React Product Path

React Roadmap

Lộ trình React đầy đủ hơn cho frontend hiện đại: bắt đầu từ JavaScript/TypeScript, mental model và component fundamentals, sau đó đi sâu vào state architecture, data fetching, performance, testing, bridge sang Next.js và kết thúc bằng interview prep.

  • 14chặng học
  • 124trọng tâm
  • 65bài thực hành
  • ~14tuần
Hệ sinh thái
  • React
  • TypeScript
  • JavaScript
  • Tailwind CSS
  • Next.js
  1. Dễ vào01–05
  2. Xây nền06–10
  3. Nâng cao11–14

Các chặng học

  1. 01

    Dễ vào

    Chặng 01

    JavaScript & TypeScript for React

    Củng cố modern JavaScript trước khi vào React: scope, closure, hoisting, this, thao tác array/object, promise, async/await, modules, destructuring, spread/rest và phần TypeScript cơ bản gồm type, interface, union, generic, typing props, API response, event handlers và utility types nền tảng.

    JavaScriptJavaScriptTypeScriptTypeScriptAsync
  2. 02

    Chặng 02

    React Mental Model

    Đặt mental model đúng ngay từ đầu với declarative UI, component tree, props down events up, pure rendering, render vs commit, state as snapshot, data flow và cách nghĩ controlled vs uncontrolled theo tinh thần Thinking in React.

    Thinking in ReactData FlowPure Rendering
  3. 03

    Chặng 03

    JSX, Components & Composition

    Đi qua JSX rules, component, props, children, conditional rendering, lists and keys, composition, reusable UI components và phân biệt presentational với container components để bắt đầu xây UI có cấu trúc.

    JSXComponentsComposition
  4. 04

    Chặng 04

    State, Events & Rendering

    Làm chủ useState, event handling, derived state, batching, rendering behavior, local state vs shared state, lifting state up và các lỗi state phổ biến để hiểu vì sao component re-render và state nên được đặt ở đâu.

    useStateEventsRendering
  5. 05

    Chặng 05

    Effects, Refs & Escape Hatches

    Học useEffect đúng bản chất là đồng bộ với hệ thống bên ngoài, nắm cleanup, dependency array, tránh unnecessary effects, useRef, DOM refs, previous value pattern, external subscriptions và race condition basics.

    useEffectuseRefEscape Hatches
  6. 06

    Xây nền

    Chặng 06

    Forms, Validation & User Input

    Xây milestone riêng cho form theo hướng React 2026 với controlled inputs, form state, validation, error UX, async submit, pending state, optimistic UI, useActionState, useOptimistic và form accessibility.

    FormsValidationOptimistic UI
  7. 07

    Chặng 07

    Custom Hooks & Reusable Logic

    Tách logic lặp lại thành custom hooks có cấu trúc với hook composition, data hook vs UI hook, useDebounce, useLocalStorage, useDisclosure, usePrevious, useClickOutside và các lỗi hook thường gặp khi scale codebase.

    Custom HooksReuseAbstraction
  8. 08

    Chặng 08

    Real-world UI Components

    Chốt roadmap bằng component thực chiến kiểu interview/frontend job: component API design, controlled/uncontrolled components, accessibility, keyboard navigation, focus management, responsive layout, loading/error/empty states và compound components pattern.

    UI ComponentsAccessibilityComponent API
  9. 09

    Chặng 09

    State Architecture

    Mở rộng từ local state sang state architecture với when local state is enough, context boundaries, useReducer, server state vs client state, URL state, form state, global state, tổng quan Zustand/Redux Toolkit và cách ra quyết định state placement.

    State ArchitectureContextZustand
  10. 10

    Chặng 10

    Data Fetching, Routing & App Structure

    Đi vào fetching patterns, loading/error/empty states, pagination, infinite query, cache mindset, routing, layouts, API integration, folder structure và feature-based architecture để app không chỉ chạy được mà còn có tổ chức.

    Data FetchingRoutingArchitecture
  11. 11

    Nâng cao

    Chặng 11

    Performance & Optimization

    Học performance theo hướng React 2026: rendering cost, memoization, React.memo, useMemo, useCallback, React Compiler mindset, list virtualization, code splitting, lazy loading, Core Web Vitals basics, profiling, useTransition và useDeferredValue, với trọng tâm là đo trước khi tối ưu.

    PerformanceProfilingReact Compiler
  12. 12

    Chặng 12

    Testing React Apps

    Bổ sung testing như một phần bắt buộc của roadmap với unit test, component test, React Testing Library, user-event testing, mock API, accessibility test, E2E basics with Playwright và nguyên tắc test user behavior thay vì implementation details.

    TestingRTLPlaywright
  13. 13

    Chặng 13

    Modern React & Next.js Bridge

    Đưa React sang mức advanced/bridge với Suspense, Error Boundary, Server Components, client/server boundary, Server Actions concept, streaming, hydration basics, use, useActionState, useOptimistic và cách nối sang Next.js App Router.

    SuspenseServer ComponentsNext.jsNext.js
  14. 14

    Chặng 14

    React Interview Prep

    Biến toàn bộ kiến thức thành năng lực trả lời phỏng vấn với explain rendering, explain hooks, debug effects, optimize re-renders, build component live, discuss state architecture, review accessibility, React quiz và mock interview notes.

    Interview PrepUI CodingArchitecture

Bạn sẽ làm được

  • Đi từ nền JavaScript/TypeScript đủ dùng cho React thay vì nhảy thẳng vào hooks khi nền còn hổng.
  • Hiểu React theo đúng mental model rồi mở rộng dần sang state architecture, data fetching, performance và testing.
  • Xây được UI thực tế với component composition, forms, custom hooks, global state decisions và app structure rõ ràng hơn.
  • Sẵn sàng hơn cho bài tập interview frontend nhờ nhóm real-world UI components, architecture prompts, quiz và mock interview practice.
  • Có cầu nối rõ ràng từ React core sang Modern React và Next.js App Router thay vì học rời rạc.

Kỹ năng trên đường đi

  • JavaScriptJavaScript
  • TypeScriptTypeScript
  • ReactReact
  • Hooks
  • State Management
  • Data Fetching
  • Forms
  • Testing
  • Next.jsNext.js

Bài viết cho lộ trình này

Tất cả bài viết

List virtualization từ con số 0: render 100.000 dòng mà vẫn mượt

Tự tay viết một virtual list bằng React + TypeScript: toán windowing với số liệu cụ thể, overscan, chiều cao thay đổi với prefix sum và binary search, đo bằng ResizeObserver, chống giật khi scroll, accessibility — và khi nào không nên virtualize.

Hiệu năng18 phút

Lộ trình còn lại

02NestJS

Backend · Backend Developer

NestJS Roadmap

Backend track để xây API, authentication, database workflows, services, queues và production-ready architecture theo progression từ core NestJS tới advanced backend patterns.

11 chặng66 trọng tâm20 bài thực hành

  1. TypeScriptTypeScript
  2. NestJSNestJS
  3. Docker
Xem lộ trình