2 ms·
I agree the way most implement frontend dev is a mess, but I strongly disagree that this is where the performance hit comes from. Profile any web app and you'l
by sublinear 4y ago
I agree the way most implement frontend dev is a mess, but I strongly disagree that this is where the performance hit comes from.
Profile any web app and you'll find that most of the slowness is the unnecessary and constant fetching of unoptimized assets and very high latency responses to API calls. Caching is rarely done correctly on the client side of a web app and nobody wants to put in the effort to properly lazy load and unload stuff seamlessly because of how tightly coupled it is with the visual layout and design. Network requests are especially unreliable and slow on mobile devices. On the dev's machine and in the testing environment it's not though.
This is really all it is. I'm serious. Why doesn't anyone ever look at the network tab in dev tools and see for themselves? It's disgusting.