Learn how to apply component composition to solve prop-drilling and make your components more flexible. Take your components to the next level by using the context API and building Compound Components.
🏁 Final code: https://stackblitz.com/edit/react-ts-...
🌟 Subscribe to my channel and FINALLY learn to build more than just a to-do list with React: / @vincasstonys
Here's the platform I recommend to learn Web Development online: https://www.educative.io/explore?aff=...
For more content:
Follow me on Twitter / vincasstonys
Read my blog at https://codefrontend.com
0:00 Intro
0:56 Problem Explanation
2:01 Component Composition
7:20 Adding the Context API
12:56 Compound Components
15:45 Outro
Tech used in this tutorial:
HTML / CSS
React.JS
TypeScript
Nesta página do site você pode assistir ao vídeo on-line Un-Suck Your React Components - Composable & Compound Components duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Vincas Stonys 04 Março 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 104,053 vezes e gostou 5.4 mil espectadores. Boa visualização!