mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-03 06:12:53 +02:00
Add composition vs inheritance docs
This commit is contained in:
@@ -1 +1,7 @@
|
|||||||
# Composition vs inheritance
|
# Composition vs Inheritance
|
||||||
|
|
||||||
|
React has a powerful composition model, and it is recommended to use composition instead of inheritance to reuse code between components.
|
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||||
|
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://reactjs.org/docs/composition-vs-inheritance.html'>Composition vs Inheritance</BadgeLink>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user