Add composition vs inheritance docs
This commit is contained in:
1 parent
ad830bc164
commit
e789249be3
1 file changed
+7
-1
+7
-1
@@ -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