useState | React Hooks | React.js Tutorial #5

Published: 14 October 2020
on channel: Bruno Antunes
4,174
175

In this video we'll learn you how to useState in React. We'll see two examples. The first example using an input field keeping its status and the second example using a Counter keeping the count value in state by using useState.

This is the first React.js Hook we are covering in this series.

The next React Hook we are going to cover will be the useEffect.

----
React.js Tutorial Playlist:    • React.js Tutorial with Hooks and Type...  
----

----
GitHub Repository: https://github.com/bmvantunes/youtube...
GitHub Commit history: https://github.com/bmvantunes/youtube...
----

Relevant Links for this video:
----
React.js Forms Documentation (Controlled Components): https://reactjs.org/docs/forms.html
React.js useState Documentation: https://reactjs.org/docs/hooks-state....
React.js Hooks Reference Docs: https://reactjs.org/docs/hooks-refere...
----

Timeline:
00:00 Intro
00:15 Input with useState example
03:12 Counter with useState example
10:21 useState with asynchronous code
11:25 Very important concepts to grasp while using Hooks
12:39 Outro

#ReactJS #Hooks #ReactHooks #useState

----
Follow me on:
Twitter:   / bmvantunes  
Dev.to: https://dev.to/bmvantunes
Website: https://brunoantunes.net
Github: https://github.com/bmvantunes
LinkedIn:   / bmvantunes  


Watch video useState | React Hooks | React.js Tutorial #5 online without registration, duration hours minute second in high quality. This video was added by user Bruno Antunes 14 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,174 once and liked it 175 people.