Closed
Bug 1660897
Opened 4 years ago
Closed 4 years ago
The context selector flashes many times and is making the browser toolbox slow/crash
Categories
(DevTools :: Framework, enhancement)
DevTools
Framework
Tracking
(Fission Milestone:M6c, firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
EvaluationContextSelector React component would benefit from having a shouldComponentUpdate
or any other mechanism in order to avoid doing too many DOM mutations.
Today, anytime anythink change in the related store, the DOM will be rerendered.
This makes the selector blink and slows down the Browser toolbox a lot if you have many such updates.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 1•4 years ago
|
||
Comment 2•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: General → Framework
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d00e750578a
Avoid updating the JS context selector too many times. r=nchevobbe
Comment 4•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Assignee | ||
Updated•4 years ago
|
Fission Milestone: --- → M6c
You need to log in
before you can comment on or make changes to this bug.
Description
•