Minimize number of rendered elements in the react app
Categories
(DevTools :: Console, task)
Tracking
(firefox100 fixed)
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
(Whiteboard: dt-console-perf-2022)
Attachments
(3 files)
Looking at the generated html, it looks like we could skip rendering some items.
Hopefully this will help a bit with reflow/styling/overall react perf when we have virtualization and the user scrolls
| Assignee | ||
Comment 1•4 years ago
|
||
This simplifies the markup a bit, and hopefully could contribute to improve
layout and styling performance in the console.
| Assignee | ||
Comment 2•4 years ago
|
||
we directly use what's returned from the Frame component. We allow to pass
an extra className prop to it so we can still add the message-location class
that is used in the console.
Depends on D142096
| Assignee | ||
Comment 3•4 years ago
|
||
We move the data-indent attribute to the message element so tests can still
query it.
Depends on D142097
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ed4ffad462db
https://hg.mozilla.org/mozilla-central/rev/6091dcc3f6dd
https://hg.mozilla.org/mozilla-central/rev/b03663297f1f
Description
•