Composition and Inheritance in React #11 React Course

Опубликовано: 20 Ноябрь 2024
на канале: Code with Sloba
3,695
110

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

************************************************************
Previous Video:    • Creating forms in React #10 React Course  
Next video:    • React Context #12 React Course  
Full series    • Full React Course  

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

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Discord:
✔️   / discord  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_