4 ms·
> all the data you intend to show them you should be able to fetch and send with the initial request. Sure, but if it requires data from five different service
by badfrog 7y ago
> all the data you intend to show them you should be able to fetch and send with the initial request.
Sure, but if it requires data from five different services and significant compute time, the initial request is going to be very slow. Users are more likely to bail out if they see nothing for a few seconds than if they immediately see a loading screen that lasts for a few seconds.
- ehnto 7y agoIt's true, there are definitely use cases for lazy-loading UI. I would wager the majority of the time lazy-loaded UI is only present because the engineering team wanted to use new tools and not because there was a requirement to ease long compute calls though, but I'm speculating.