This RFC proposes refactoring the side menu to not add unnecessary SVG icons into the DOM.
Currently, we use Material UI buttons which wrap SVG icons. Given the large number of packages (which we can expect to only increase), we're potentially adding thousands of unnecessary DOM nodes which harms performance.
Better would be to instead rely on CSS background images and load a single SVG which can be cached for a performance boost.
Description
This RFC proposes refactoring the side menu to not add unnecessary SVG icons into the DOM.
Currently, we use Material UI buttons which wrap SVG icons. Given the large number of packages (which we can expect to only increase), we're potentially adding thousands of unnecessary DOM nodes which harms performance.
Better would be to instead rely on CSS background images and load a single SVG which can be cached for a performance boost.
Related Issues
No.
Questions
No.
Other
No.
Checklist
RFC:
.