Skip to content

Commit beacbfa

Browse files
authored
Fix broken in-page links in immutable data FAQ (reduxjs#4084)
1 parent 9efd8b0 commit beacbfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/faq/ImmutableData.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ In particular, immutability in the context of a Web app enables sophisticated ch
4343

4444
## Why is immutability required by Redux?
4545

46-
- Both Redux and React-Redux employ [shallow equality checking](#shallow-and-deep-equality-checking). In particular: - Redux's `combineReducers` utility [shallowly checks for reference changes](#how-redux-uses-shallow-checking) caused by the reducers that it calls. - React-Redux's `connect` method generates components that [shallowly check reference changes to the root state](#how-react-redux-uses-shallow-checking), and the return values from the `mapStateToProps` function to see if the wrapped components actually need to re-render.
47-
Such [shallow checking requires immutability](#redux-shallow-checking-requires-immutability) to function correctly.
46+
- Both Redux and React-Redux employ [shallow equality checking](#how-do-shallow-and-deep-equality-checking-differ). In particular: - Redux's `combineReducers` utility [shallowly checks for reference changes](#how-does-redux-use-shallow-equality-checking) caused by the reducers that it calls. - React-Redux's `connect` method generates components that [shallowly check reference changes to the root state](#how-does-react-redux-use-shallow-equality-checking), and the return values from the `mapStateToProps` function to see if the wrapped components actually need to re-render.
47+
Such [shallow checking requires immutability](#why-will-shallow-equality-checking-not-work-with-mutable-objects) to function correctly.
4848
- Immutable data management ultimately makes data handling safer.
4949
- Time-travel debugging requires that reducers be pure functions with no side effects, so that you can correctly jump between different states.
5050

0 commit comments

Comments
 (0)