the currently implemented sidebar resizing functionality drastically reduces render speed, and over time the problem gets worse. The code needs to be refactored, using refs and other efficiency-saving techniques (usememo?)
[x] clean up functions:
[x] investigate gains associated with simply memoizing the sidebar handler
[x] remove unnecessary keys in resize obj
[x] replace querySelectors with useRefs for dom elements
Resizing is still a bit inaccurate. This is in part due to the styling of the sidebar. find a way to allow dynamic width while keeping the left side anchored.
the currently implemented sidebar resizing functionality drastically reduces render speed, and over time the problem gets worse. The code needs to be refactored, using refs and other efficiency-saving techniques (usememo?)