General
When should I learn Redux?arrow-up-right
When should I use Redux?arrow-up-right
Can Redux only be used with React?arrow-up-right
Do I need to have a particular build tool to use Redux?arrow-up-right
Reducers
How do I share state between two reducers? Do I have to use combineReducers?arrow-up-right
Do I have to use the switch statement to handle actions?arrow-up-right
Organizing State
Do I have to put all my state into Redux? Should I ever use React's setState()?arrow-up-right
Can I put functions, promises, or other non-serializable items in my store state?arrow-up-right
How do I organize nested or duplicate data in my state?arrow-up-right
Store Setup
Can or should I create multiple stores? Can I import my store directly, and use it in components myself?arrow-up-right
Is it OK to have more than one middleware chain in my store enhancer? What is the difference between next and dispatch in a middleware function?arrow-up-right
How do I subscribe to only a portion of the state? Can I get the dispatched action as part of the subscription?arrow-up-right
Actions
Why should type be a string, or at least serializable? Why should my action types be constants?arrow-up-right
Is there always a one-to-one mapping between reducers and actions?arrow-up-right
How can I represent “side effects” such as AJAX calls? Why do we need things like “action creators”, “thunks”, and “middleware” to do async behavior?arrow-up-right
Should I dispatch multiple actions in a row from one action creator?arrow-up-right
Immutable Data
What are the benefits of Immutability?arrow-up-right
Why is immutability required in Redux?arrow-up-right
Do I have to use Immutable.JS?arrow-up-right
What are the issues with using ES6 for immutable operations?arrow-up-right
Using Immutable.JS with Redux
Why should I use an immutable-focused library such as Immutable.JS?arrow-up-right
Why should I choose Immutable.JS as an immutable library?arrow-up-right
What are the issues with using Immutable.JS?arrow-up-right
Is Immutable.JS worth the effort?arrow-up-right
What are some opinionated Best Practices for using Immutable.JS with Redux?arrow-up-right
Code Structure
What should my file structure look like? How should I group my action creators and reducers in my project? Where should my selectors go?arrow-up-right
How should I split my logic between reducers and action creators? Where should my “business logic” go?arrow-up-right
Why should I use action creators?arrow-up-right
Performance
How well does Redux “scale” in terms of performance and architecture?arrow-up-right
Won't calling “all my reducers” for each action be slow?arrow-up-right
Do I have to deep-clone my state in a reducer? Isn't copying my state going to be slow?arrow-up-right
How can I reduce the number of store update events?arrow-up-right
Will having “one state tree” cause memory problems? Will dispatching many actions take up memory?arrow-up-right
Will caching remote data cause memory problems?arrow-up-right
Design Decisions
Why doesn't Redux pass the state and action to subscribers?arrow-up-right
Why doesn't Redux support using classes for actions and reducers?arrow-up-right
Why does the middleware signature use currying?arrow-up-right
Why does applyMiddleware use a closure for dispatch?arrow-up-right
Why doesn't combineReducers include a third argument with the entire state when it calls each reducer?arrow-up-right
combineReducers
Why doesn't mapDispatchToProps allow use of return values from getState() or mapStateToProps()?arrow-up-right
mapDispatchToProps
getState()
mapStateToProps()
React Redux
Why isn't my component re-rendering, or my mapStateToProps running?arrow-up-right
Why is my component re-rendering too often?arrow-up-right
How can I speed up my mapStateToProps?arrow-up-right
Why don't I have this.props.dispatch available in my connected component?arrow-up-right
Should I only connect my top component, or can I connect multiple components in my tree?arrow-up-right
Miscellaneous
Are there any larger, “real” Redux projects?arrow-up-right
How can I implement authentication in Redux?arrow-up-right
Last updated 5 years ago