trusktr herman willems • 2 years ago
Haha.
Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).
Well anywho, there's other projects now like hyperHTML, lit-html, etc, plus some really fast ones: https://www.stefankrause.ne...
React seems a little old now (and the new Hooks API is also resource heavy).
•
Share ›

Michael Calkins trusktr • 4 years ago • edited
That's a micro optimization. There isn't a big enough difference to matter unless you are building a game or something extraordinarily odd.
•
Share ›
−

trusktr Michael Calkins • 2 years ago
True, it matters if you're re-rendering the template at 60fps (f.e. for animations, or for games). If you're just changing views one time (f.e. a URL route change), then 100ms won't hurt at all.