Open Bug 1319062 Opened 8 years ago Updated 2 years ago

Add a batching action creator and reducer to Redux shared components

Categories

(DevTools :: Shared Components, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jsnajdr, Unassigned)

Details

Both console.html and netmonitor.html use a batching module that contains:
- action creator that allows to dispatch an array of actions as one batch
- reducer that processes the batch and produces a single state update

This is useful to reduce the number of state updates triggered by the store and improve React rendering performance.

The code is almost identical to this:
https://github.com/tshelburne/redux-batched-actions

Move the code to a shared component in devtools/client/shared/redux.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.