4 ms·
I'm not seeing why the DOM would necessarily makes rendering slower. See e.g. this comparison showing react web being faster and more energy efficient than reac
by SemanticStrengh 4y ago
I'm not seeing why the DOM would necessarily makes rendering slower.
See e.g. this comparison showing react web being faster and more energy efficient than react-native.
https://ionicframework.com/blog/ionic-vs-react-native-performance-comparison/ https://ionicframework.com/blog/ionic-vs-react-native-perfor...
It's true that pathological DOM dynamism might incur some cache/layout invalidations, however if that were to be an issue (which is very rare and profiling is easy), you could mostly eliminate the problem with a few lines of https://developer.mozilla.org/en-US/docs/Web/CSS/contain https://developer.mozilla.org/en-US/docs/Web/CSS/contain