Composition and Inheritance in React #11 React Course

preview_player
Показать описание
Composition and Inheritance in React

In JavaScript, we have two main design patterns when we want to reuse the code and combine different pieces of the application. And they are inheritance and composition.

🧿 I discussed:

✔️ What is Inheritance in React
✔️ What is a composition in React
✔️ Which one you should use and why

0:00 Intro
0:15 Inheritance
0:48 Composition
2:09 Specialization

************************************************************

************************************************************

👉 Linkedin:

👉 Discord:

👉 Portfolio:

👉 Twitter:
Рекомендации по теме
Комментарии
Автор

Great job Sloba. Greetings from Bosnia 🇧🇦

developerthing
Автор

Thank you so much for such a clean and simple explanation

KingGxplays
Автор

What I recently did was passing props to the components from the parent to achieve specialization.. is that wrong??

vigneshwarrv
visit shbcf.ru