Menu
Redux LogoRedux 中文网
Redux 入门API 手册常见问题GitHub需要帮助?英文官网
Redux LogoRedux 中文网
  • Redux 入门
  • API 手册
  • 常见问题
  • GitHub
  • 需要帮助?
  • 英文官网
  • 简介
    • Redux 入门
    • 安装
    • Motivation
    • 核心概念
    • Three Principles
    • Prior Art
    • Learning Resources
    • Ecosystem
    • Examples
  • 基础教程
    • Basic Tutorial: Intro
    • Actions
    • Reducers
    • Store
    • Data flow
    • Usage with React
    • Example: Todo List
  • 进阶教程
    • Advanced Tutorial: Intro
    • Async Actions
    • Async Flow
    • Middleware
    • Usage with React Router
    • Example: Reddit API
    • Next Steps
  • Recipes
    • Recipes: Index
    • Configuring Your Store
    • Usage With TypeScript
    • Migrating to Redux
    • Using Object Spread Operator
    • Reducing Boilerplate
    • Server Rendering
    • Writing Tests
    • Computing Derived Data
    • Implementing Undo History
    • Isolating Redux Sub-Apps
    • Using Immutable.JS with Redux
    • Code Splitting
    • Structuring Reducers
      • Structuring Reducers
      • Prerequisite Concepts
      • Basic Reducer Structure
      • Splitting Reducer Logic
      • Refactoring Reducers Example
      • Using combineReducers
      • Beyond combineReducers
      • Normalizing State Shape
      • Updating Normalized Data
      • Reusing Reducer Logic
      • Immutable Update Patterns
      • Initializing State
  • 常见问题
    • FAQ Index
    • General
    • Reducers
    • Organizing State
    • Store Setup
    • Actions
    • Immutable Data
    • Code Structure
    • Performance
    • Design Decisions
    • React Redux
    • Miscellaneous
  • 样式指南
    • Style Guide
  • Other
    • Glossary
    • Troubleshooting
  • API 参考手册
    • API Reference
    • createStore
    • Store
    • combineReducers
    • applyMiddleware
    • bindActionCreators
    • compose
  • Redux 工具包
    • Redux Toolkit: Overview

#技巧

这一章是关于实现应用开发中会遇到的一些典型场景和代码片段。本章内容建立在你已经学会基础章节和高级章节的基础上。

  • 迁移到 Redux
  • 使用对象展开运算符
  • 减少样板代码
  • 服务端渲染
  • 编写测试
  • 计算衍生数据
  • 实现撤销重做
  • 代码分割
  • 配置 Store
  • 子应用隔离
  • 结合 Immutable.JS 使用 Redux
Previous
« Next Steps
Next
Configuring Your Store »

中文文档

  • Redux 入门
  • 常见问题
  • 教程
  • API 手册

社区

  • Stack Overflow
  • Feedback

更多

  • GitHub

友链

  • Bootstrap 中文网
  • React.js
  • Vue.js
  • Svelte
  • Next.js
  • Docusaurus
  • Yarn
Redux Logo
Copyright © 2015–2021 Dan Abramov and the Redux documentation authors.
京ICP备11008151号-24