4 ms·
Surely JS engines are also optimising React-style code. e.g. the article says that react style code does a lot of unnecessary object creation (e.g. map) but if
by mantap 7y ago
Surely JS engines are also optimising React-style code. e.g. the article says that react style code does a lot of unnecessary object creation (e.g. map) but if that is now a common pattern then JS engines can do a lot to optimise that away.
- kevingadd 7y agoYou can optimize the unnecessary operations but it's a lot more work to fully determine that they're unnecessary and erase them.