2 ms·
I wonder what impact CSS-in-JS has on rendering performance and code size. I bet that browsers are very efficient at parsing and applying CSS directives to ele
by pvorb 8y ago
I wonder what impact CSS-in-JS has on rendering performance and code size.
I bet that browsers are very efficient at parsing and applying CSS directives to elements. Parsing and executing the JS and additional DOM manipulations could have a massive negative impact on performance, at least intuitively. Does anybody know of a performance benchmark that compares CSS-in-JS to regular CSS?