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

preview_player
Показать описание


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.”

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.”

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

Antd currently has more than 51580 + star on github.

---
Follow Me Online Here:

Рекомендации по теме
Комментарии
Автор

Excellent brother ... I don't speak ENGLISH but I use the translator, your videos are very good ...
JOSE GRILLO greets you from VenTraducion

ESPAÑOL:
Exelente hermano... no hablo INGLES pero utilizo el traductor estan muy buenos tus videos...

Te saluda JOSE GRILLO desde Venezuela

Grishopping
Автор

How to navigate from menu.items to another .js pages in this dashboard

navyac.r
join shbcf.ru