React Hooks

Опубликовано: 30 Март 2026
на канале: Digital Logic
12
0

In this video, you will learn the basic of the react hooks api, and how to use it to build more efficient apps.

React playlist
   • Getting Started with React  

Become a patreon supporter and get early access to new content
Patreon:   / digital_logic  

Music
Art of silence by uniq
  / uniqofficial  
Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/...
Music promoted by https://www.chosic.com/free-music/all/

Timecodes
00:00 - Intro
00:18 - Requirements
00:36 - Setup project
01:40 - Counter component
02:38 - Use state hook
03:45 - Update state value
05:35 - Asynchronous state updates
06:43 - Update state with a function
07:11 - Update an object in state
10:53 - Review the render process
11:56 - Use call back hook
12:40 - Lexical scoping with use call back
16:57 - Login component
26:53 - Clock component
28:00 - Use effect
30:08 - Clean up effect
33:53 - Rules for hooks