React Tutorial: #6 - React Class Components

preview_player
Показать описание
In this lecture, we will learn about class components in React with an example.

Class components make use of ES6 class and extend the Component class in React.

Sometimes called “smart” or “stateful” components as they tend to implement logic and state.

React lifecycle methods can be used inside class components (for example, componentDidMount).

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

No useeffect. I always have rerender hell in useeffect.

mr.RAND
visit shbcf.ru