Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

❌ Avoid Provider wrapping hell in React. ✅ Instead combine all your Providers using composition.

256,599 görüntüleme • 2 yıl önce •via X (Twitter)

10 Yorum

George Moller profil fotoğrafı
George Moller2 yıl önce

Gain a competitive edge by writing code that's not just functional, but also clean and performant ↓

George Moller profil fotoğrafı
George Moller2 yıl önce

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics and 50+ video animations just like this one. Check them out ↓

GiFTED! profil fotoğrafı
GiFTED!2 yıl önce

You’re basically doing the same thing, only cleaner 🙂

Pavel Romanov profil fotoğrafı
Pavel Romanov2 yıl önce

What about typescript support for those props?

Matt profil fotoğrafı
Matt2 yıl önce

If someone presented this during an interview. I would hire them.

George Moller profil fotoğrafı
George Moller2 yıl önce

🤣

Brandon Austin profil fotoğrafı
Brandon Austin2 yıl önce

Looks pretty. In instances where I’m in provider wrapping hell, which is often, I find that the order of Providers is incredibly important. Not sure I’d be able to adopt

Alex Sherman profil fotoğrafı
Alex Sherman2 yıl önce

this is fkn wild 👏

Roiko profil fotoğrafı
Roiko2 yıl önce

Why is "provider hell" bad though? Pretty easy to follow the hierarchy, no?

George Moller profil fotoğrafı
George Moller2 yıl önce

I agree with you, the “avoid” part is an exaggeration 🤣. There is nothing wrong with having multiple providers at the root. You hardly ever revisit the root so it should be fine!

Benzer Videolar