Loading video...

Video Failed to Load

Go Home

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

908,294 views • 3 years ago •via X (Twitter)

10 Comments

Andrés B.'s profile picture
Andrés B.3 years ago

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

Alex Sidorenko's profile picture
Alex Sidorenko3 years ago

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's profile picture
Rob Pruzan3 years ago

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

Vincas Stonys's profile picture
Vincas Stonys3 years ago

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

zomars's profile picture
zomars3 years ago

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

Liran Tal's profile picture
Liran Tal3 years ago

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

Alex Sidorenko's profile picture
Alex Sidorenko3 years ago

@ddialar Thanks!

Michael Pumo's profile picture
Michael Pumo3 years ago

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

🦉 П ö т р К р а с о т а 🦊's profile picture
🦉 П ö т р К р а с о т а 🦊3 years ago

Why not to call useData() inside ComponentB instead?

//pentagear.gg's profile picture
//pentagear.gg3 years ago

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.

Related Videos