Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Prop drilling? Sometimes all you need is a little restructuring.

908,234 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Andrés B. profil fotoğrafı
Andrés B.3 yıl önce

Alex, do you have a place other than Twitter with a collection of all these videos and explanations?

Alex Sidorenko profil fotoğrafı
Alex Sidorenko3 yıl önce

I use most animations for my blog However, I have been tweeting quite a lot recently, so there is a bit of a backlog 😅

Rob Pruzan profil fotoğrafı
Rob Pruzan3 yıl önce

Prop drilling? I just have my entire website in <App>

Vincas Stonys profil fotoğrafı
Vincas Stonys3 yıl önce

Excellent visualization of component composition applied to reduce prop-drilling. If that doesn't help, you may consider using context 👇

zomars profil fotoğrafı
zomars3 yıl önce

Yes!! I hope you don’t mind if I add this to our @calcom handbook 🙏

Liran Tal profil fotoğrafı
Liran Tal3 yıl önce

@ddialar Top tier educator right there. Well done, Alex!

Alex Sidorenko profil fotoğrafı
Alex Sidorenko3 yıl önce

@ddialar Thanks!

Michael Pumo profil fotoğrafı
Michael Pumo3 yıl önce

In Vue we call these slots. People don't make enough use of them!

🦉 П ö т р К р а с о т а 🦊 profil fotoğrafı
🦉 П ö т р К р а с о т а 🦊3 yıl önce

Why not to call useData() inside ComponentB instead?

//pentagear.gg profil fotoğrafı
//pentagear.gg3 yıl önce

But now you're defining the structure of Component A outside Component A. This is a shift away from portability, and will require a maintainer to know where to look for it.

Benzer Videolar