parent
a512aeeaf8
commit
9e08eb1a98
1 changed files with 7 additions and 1 deletions
@ -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> |
||||
|
||||
|
Loading…
Reference in new issue