useState, setState - React Tutorial - 07

preview_player
Показать описание
React State Tutorial: Use State, setState, State Management - React Tutorial

-timestamp-:
00:00 - Introduction
01:40 - Creating constructor and setting initial state
02:16 - Applying Inline styling using state
03:05 - Attaching onClick event handler to button element
03:20 - Creating the increment() method in the Counter Class Component
03:25 - Generating Random Colors
04:20 - using setState to update state values
04:54 - setState Callback Function
05:20 - Discussing props and state
05:45 - Preview of the next video
05:57 - Conclusion and closing remarks
Рекомендации по теме
Комментарии
Автор

I have a question, why still use class components we can just pass props as a function like in your previous video, I'm still new to react, I want to know when it is absolutely necessary to use it for class components thank you sir.

adegboyegawisdomubani