Closed autologie closed 8 months ago
Nice! It's not clear which weekend I'll have time to do another round of jsdom releases, but I am excited to merge this (after testing it with the full jsdom test suite) as soon as I do have such time.
Hi @domenic, thank you for taking care of that. Looking forward to getting this verified and released :)
While investigating slow tests in my project written with React + Chakra UI, I found out that calling the get accessor of
cssText
property takes up a large portion of total execution time. This PR is to skip such calls when possible by making_onChange
calls conditional.In my project, I saw ~40% improvement of the execution time (24sec → 15sec).