Open Bug 1319062 Opened 5 years ago Updated 4 years ago

Add a batching action creator and reducer to Redux shared components


(DevTools :: Shared Components, defect)

Not set


(Not tracked)


(Reporter: jsnajdr, Unassigned)


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:

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