Closed Bug 1853123 Opened 1 year ago Closed 1 year ago

Avoid updating the location object when we reselect the exact same location

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1775201

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Both selectLocation action and its related reducer action are both processing locations changing to the exact same source, line and column.
This is actually costly as the selectLocation action triggers many costly operation,
and the reducer changes the state and causes many components to re-render!

Blocks: 1853124
Blocks: 1843454
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1775201
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: