Scalable State Management with Redux & Zustand
Jason Nguyen
Instructor
Course preview
Khóa học hướng dẫn quản lý trạng thái ở quy mô lớn sử dụng Redux và Zustand. Bạn sẽ học từ cấu trúc store đơn giản đến những pattern phân mảnh, normalize state, và tối ưu bundle.
Course description
Khóa học hướng dẫn quản lý trạng thái ở quy mô lớn sử dụng Redux và Zustand. Bạn sẽ học từ cấu trúc store đơn giản đến những pattern phân mảnh, normalize state, và tối ưu bundle.
What you will learn
- Redux fundamentals and toolkit.
- Zustand basics and middleware.
- State normalization and performance.
- Combining multiple stores.
- Testing state logic.
Course content
6 chapter • 42 lesson • 0 minutes
Store, actions, reducers.
Redux flow
Học về redux flow
Actions & reducers
Học về actions & reducers
Redux Toolkit
Học về redux toolkit
Immer & immutable updates
Học về immer & immutable updates
Selector optimization
Học về selector optimization
Middleware basics
Học về middleware basics
Bài tập: build counter app
Học về bài tập: build counter app
State nhẹ với hooks.
Zustand fundamentals
Học về zustand fundamentals
Middleware & persist
Học về middleware & persist
Combining stores
Học về combining stores
Selector patterns
Học về selector patterns
Devtools integration
Học về devtools integration
Performance comparison
Học về performance comparison
Bài tập: todo with zustand
Học về bài tập: todo with zustand
Modular reducers & feature slices.
Feature-based folders
Học về feature-based folders
Dynamic reducer injection
Học về dynamic reducer injection
Handling async with RTK Query
Học về handling async with rtk query
Normalizing state with createEntityAdapter
Học về normalizing state with createentityadapter
Testing reducers
Học về testing reducers
Code splitting store
Học về code splitting store
Bài tập: ecommerce store
Học về bài tập: ecommerce store
Persist, middleware, and subscriptions.
State persistence
Học về state persistence
Custom middleware
Học về custom middleware
React Suspense integration
Học về react suspense integration
Cross-component subscriptions
Học về cross-component subscriptions
Using with Next.js
Học về using with next.js
Migrating from Redux
Học về migrating from redux
Bài tập: refactor existing app
Học về bài tập: refactor existing app
Unit and integration tests.
Testing reducers & actions
Học về testing reducers & actions
Mocking store for components
Học về mocking store for components
Testing zustand stores
Học về testing zustand stores
E2E tests with state prep
Học về e2e tests with state prep
Coverage measurement
Học về coverage measurement
Test-driven state design
Học về test-driven state design
Bài tập: write tests for cart
Học về bài tập: write tests for cart
Avoiding unnecessary renders.
Selector memoization
Học về selector memoization
Avoiding prop drilling
Học về avoiding prop drilling
Batching updates
Học về batching updates
State normalization tradeoffs
Học về state normalization tradeoffs
Choosing the right tool
Học về choosing the right tool
Scaling team workflow
Học về scaling team workflow
Final project: build scalable dashboard
Học về final project: build scalable dashboard
Course preview
Khóa học hướng dẫn quản lý trạng thái ở quy mô lớn sử dụng Redux và Zustand. Bạn sẽ học từ cấu trúc store đơn giản đến những pattern phân mảnh, normalize state, và tối ưu bundle.