Skip to content

Remove document.querySelectorAll from render.rs

Latest
Compare
Choose a tag to compare
@tostaylo tostaylo released this 18 Oct 18:39

Upon Performance Timeline inspection in Chrome Developer Tools it was observed that document.querySelectorAll was being invoked when rendering elements to the DOM. This was determined to be the cause of slow rendering and updating in the DOM and replaced with document.getElementById.