Skip to content

Commit 24f3d5e

Browse files
agjstimdorr
authored andcommitted
Fixed a typo in DesignDecisions markdown file (#2888)
1 parent ba499ae commit 24f3d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq/DesignDecisions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<a id="does-not-pass-state-action-to-subscribers"></a>
1616
### Why doesn't Redux pass the state and action to subscribers?
17-
Subscribers are intended to respond to the state value itself, not the action. Updates to the state processed synchronously, but notifications to subscribers can be batched or debounced, meaning that subscribers are not always notified with every action. This is a common [performance optimization](http://redux.js.org/docs/faq/Performance.html#performance-update-events) to avoid repeated re-rendering.
17+
Subscribers are intended to respond to the state value itself, not the action. Updates to the state are processed synchronously, but notifications to subscribers can be batched or debounced, meaning that subscribers are not always notified with every action. This is a common [performance optimization](http://redux.js.org/docs/faq/Performance.html#performance-update-events) to avoid repeated re-rendering.
1818

1919
Batching or debouncing is possible by using enhancers to override `store.dispatch` to change the way that subscribers are notified. Also, there are libraries that change Redux to process actions in batches to optimize performance and avoid repeated re-rendering:
2020
* [redux-batch](https://github.com/manaflair/redux-batch) allows passing an array of actions to `store.dispatch()` with only one notification,

0 commit comments

Comments
 (0)