jtgi
@jtgi
user request: call ready() as soon as possible cause apps are taking too long to load. - avoid platforms that have cold start issues like vercel, lambda or fly (or use workarounds) - use a cdn - to avoid jitter and content reflowing use placeholders and skeleton states.
4 replies
2 recasts
43 reactions
Hoot 🎩
@owl
Isn’t the idea behind this to only show the app when it’s fully ready? Might as well scrap the call and just ask apps to pre render a good skeleton UI (I’m in favor of making this whole thing optional)
1 reply
0 recast
0 reaction
jtgi
@jtgi
Splash screen useful while your code downloads, much better than a generic loader. It’s a balance. I think you should take all the easy optimizations (cdn, small bundle, code splitting, no cold starts etc) that are mostly free nowadays and then if thats still slow see what can be done lazily with psychological solutions like skeleton ui that distract and prevent jitter If you can go from tap to viewing everything in < 350ms, prob better to load it all.
0 reply
0 recast
0 reaction