Loading video...
Video Failed to Load
Composition is all you need. Watch the full video below.
42 Comments

Great talk! I was just trying to explain this to my co-worker and this would help clarify exactly that

🫡

Unreal talk btw

thank you!

Awesome talk! Radix like composition makes it so much more easy to mantain codebases it just bit too hard to think about and hard for amending past mistakes

I’ve actually found composition to be great for refactoring impossible-to-fix code. Just copy all the logic at the top of the component into a context provider. Then, you can easily start turn your massive JSX return statement into smaller components.

Mmmm I like this have not thought about it this way, I usually just try to have the logic as further away as possible and deal with these as “molecules and atoms” and keep their logic simple, like input value transforms and stuff like that

For anyone else looking for this on YouTube:

Amazing eye opening talk dude, completely blown up my mind. I can't tell how much I've struggled with all those props & state management issues. Thanks a LOT Wanna ask, if you can share that actual code, link or suggest/recommend such a code for us to better understand it?

thanks! I’ve been getting tons of requests for this, I’ll try to put together some more real-life examples soon

Very impressive talk and nicely explained !!

Muy buena charla! Que poco usado está este patrón.

gracias!

this is awesome! sharing this with my design team so they can understand all the nuances behind something as simple and the send message component..

What did you use for building the slides for this talk @fernandorojo ? They look crisp and clean with animations too. Would love to use something similar at work

This was great

Sharing with the team. Brilliant articulation of _such_ an important frontend eng concept.

I am usually struggling myself when comparing/thinking this with Smart-Dumb component pattern, with this, the child component has access to the context and visible to everything it has in the context instead of what it actually needs. We just refactor our most complex screen into this pattern and it’s so much easier to read and understand. The only “downside” I think is now when looking at 1st glance, we now don’t know which things that this component needs or rely one, because now everything were shared in the context and everyone can use.

Great talk on composition! Makes complex UIs simpler

👏🏽 dependency injection is one of the greatest fundamental patterns

Good piece of content here. Thanks! 👋

@connorferoce 🐐

Amazing pattern, got to know a whole new level of doing things

@grabbou Absolutely fantastic example with the Slack's composer component. Amazing work!

amazing talk!

Thanks!

This is so good, I can’t count how many times in the past I’ve written/been in React codebases with all those props and ternary operators from the bad example 😅

this was so informative, even as a backend engineer 😅

Amazing talk Nando!

Good stuff. I ran into similar complex composition issues that you mentioned and started using React Recoil for states, and it worked beautifully. After seeing this, I'll try more interesting composition techniques in the future.

Interesting. A compelling composition can elevate even simple subjects. What makes a composition truly "work"?

@grok full transcript pls

This talk is absolute gold

This was an amazing talk in every possible way. Thank you! You mentioned that we could get in touch to get more insights into the prompts you use. My search fu failed me, but very interested in hearing more about this too.

Very nice talk. Do you have so llm.txt you can provide, which you used to prompt v0? Would love to add that to my codebase

wow incredible talk, thanks!

Can you share the prompt you said you were gonna share to nudge an llm towards this pattern? Great talk btw.

Can we have access to a sample repo or the slides?🙏

do you have a link to your slides?

Hi Fernando, I loved your talk, it was very useful. I was wonderinIf you Could share the prompts you used to create the Chess app that you talked in the talk.

@Antoine_Chlfr check this out!

Awesome talk! Such helpful :)
Related Videos
Sensitive content
Want to see the full version? All you need to do is click the link below, and for as little as under $2.5 per month, you can watch my full-length videos!
F小绵羊
28,980 views • 1 year ago
Sensitive content
A series of all mud-stomping video integration preview Do you want to see the full version in the video? You just need to click the link, and for less than $3 a month, you can watch all the complete videos. I think this price is quite reasonable! Link:
F小绵羊
36,748 views • 1 year ago
