Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

why does your React app load so slow? the reason might be "waterfalls"

82,350 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

Robert Balicki (👀 @IsographLabs) profil fotoğrafı
Robert Balicki (👀 @IsographLabs)1 yıl önce

Folks on this thread might be interested in checking out Relay, which solves this quite well (ie with good DX)

Etherspot 🐞 profil fotoğrafı
Etherspot 🐞2 yıl önce

Want to build a Web3 app without all the overhead costs? Try TransactionKit, a React toolkit that makes building dApps easy. Integrate cutting-edge account abstraction features in just a few clicks. Try it today 👇

Nicolas Fry profil fotoğrafı
Nicolas Fry1 yıl önce

So the bigger question is- what’s your preferred method of pulling them out of the other components? Using something like zustand and storing the fetches in there and calling it at the top level and using selectors at the lower level?

nick profil fotoğrafı
nick1 yıl önce

The waterfall development method is bad. Don't let anyone tell you otherwise

helli0n.eth profil fotoğrafı
helli0n.eth1 yıl önce

its probably graphql

Miloš Ristić profil fotoğrafı
Miloš Ristić1 yıl önce

In nextjs app, I like approach with prefetchQuery on page.tsx with hydration boundary. That way I have paraller calls on server and just using them later on in components inside.

Ethan_AI Marketer for 𝕏 profil fotoğrafı
Ethan_AI Marketer for 𝕏1 yıl önce

Slow loading in React can often be due to 'waterfall' requests, where one resource loads after another. To fix this, try code splitting and lazy loading components. This way, you can load only what's needed upfront, improving initial load times and user experience.

František Heča 🦀 profil fotoğrafı
František Heča 🦀1 yıl önce

hmm, in php we have waterfalls on the server (which you now could have also with rsc), but i don't understand what all these last years were spa guys working on, if after 15 years of fw working hard on features, they start to slowly solve this

Sahaj Jain profil fotoğrafı
Sahaj Jain1 yıl önce

Prefetch. Prefetch prefetch prefetch

PotatoDragon profil fotoğrafı
PotatoDragon1 yıl önce

Can you add a code snippet for this case?

Sabre🚀🚀🚀 profil fotoğrafı
Sabre🚀🚀🚀1 yıl önce

Bro, do u have a youtube channel?

Benzer Videolar