3 ms·
> So the cost in the minified bundle between a class component and an equivalent function component is huge Does this actually matter though? It's going to be
by Brybry 3y ago
> So the cost in the minified bundle between a class component and an equivalent function component is huge
Does this actually matter though? It's going to be gzipped anyway right?
- jitl 3y agoGzip compression will eliminate the repetition on the wire, but smaller uncompressed bundles will parse and start executing faster than larger bundles. For us this is most noticeable on Android which has the slowest hardware on average of all the platforms we support.