Tutorial 3 - Ant design & ReactJS dashboard: Composition vs Inheritance (Part 2) & Card component

Published: 08 October 2019
on channel: Shrideep ghag
10,685
93

Tutorial 2 - ReactJS Composition vs Inheritance (Part 1) & usage of ant design Tree component-    • Tutorial 2 - Ant design & ReactJS das...  


Code available on github: https://github.com/Shrideep/react-ant...

I will be making tutorial on React handle event, hooks and GRAND (GRAPHQL, REACT, APOLLO, Neo4j Database) Stack so please subscribe, hit bell icon and don't forget to like and share this video. Thanks!

ES6 / ES2015 - Classes - Inheritance

“JavaScript classes, introduced in ECMAScript 2015, are primarily syntactical sugar over JavaScript's existing prototype-based inheritance. The class syntax does not introduce a new object-oriented inheritance model to JavaScript.”
However, “The super keyword is used to call corresponding methods of super class. This is one advantage over prototype-based inheritance.”
More detials on below link -https://developer.mozilla.org/en-US/d...

React has a powerful composition model, and they recommend using composition instead of inheritance to reuse code between components.

As mentioned in react Docs - “At Facebook, we use React in thousands of components, and we haven’t found any use cases where we would recommend creating component inheritance hierarchies.”
https://reactjs.org/docs/composition-...

Ant Design is created for enterprise internal desktop applications and
committed to improving the experience of users, designers and developers.

Ant design currently has more than 51580 + star on github.
Ant Design Card component link: https://ant.design/components/card/


Watch video Tutorial 3 - Ant design & ReactJS dashboard: Composition vs Inheritance (Part 2) & Card component online without registration, duration hours minute second in high quality. This video was added by user Shrideep ghag 08 October 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,685 once and liked it 93 people.