Usage with TypeScript A Practical Example Type Checking State Type Checking Actions & Action Creators Type Checking Reducers Usage with React Redux Usage with Redux Thunk Not...
Prerequisite Reducer Concepts Redux Reducer Basics Pure Functions and Side Effects Immutable Data Management Normalizing Data Prerequisite Reducer Concepts As described in ...
API 文档 顶级暴露的方法 Store API 引入 ES6 ES5 (CommonJS) ES5 (UMD build) API 文档 Redux 的 API 非常少。Redux 定义了一系列的约定(contract)来让你来实现(例如 reducers ),同时提供少量辅助函数来把这些约定整合到一起。 这一章会介绍所有的 Redu...
Testing Simple Actions Testing Simple Actions Consider the following simple actions, from the Redux chapter of this book: import { Injectable } from '@angular/core' ; ...
Redux FAQ: Code Structure Table of Contents Code Structure What should my file structure look like? How should I group my action creators and reducers in my project? Where should ...
Data Flow Next Steps Data Flow Redux architecture revolves around a strict unidirectional data flow . This means that all data in an application follows the same lifecycle pa...