Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

908,234 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Andrés B.
Andrés B.vor 3 Jahren

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

Profilbild von Alex Sidorenko
Alex Sidorenkovor 3 Jahren

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

Profilbild von Rob Pruzan
Rob Pruzanvor 3 Jahren

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

Profilbild von Vincas Stonys
Vincas Stonysvor 3 Jahren

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

Profilbild von zomars
zomarsvor 3 Jahren

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

Profilbild von Liran Tal
Liran Talvor 3 Jahren

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

Profilbild von Alex Sidorenko
Alex Sidorenkovor 3 Jahren

@ddialar Thanks!

Profilbild von Michael Pumo
Michael Pumovor 3 Jahren

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

Profilbild von 🦉 П ö т р К р а с о т а 🦊
🦉 П ö т р К р а с о т а 🦊vor 3 Jahren

Why not to call useData() inside ComponentB instead?

Profilbild von //pentagear.gg
//pentagear.ggvor 3 Jahren

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.

Ähnliche Videos