useState | React Hooks | React.js Tutorial #5

Veröffentlicht am: 14 Oktober 2020
auf dem Kanal: 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  


Auf dieser Seite können Sie das Online-Video useState | React Hooks | React.js Tutorial #5 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Bruno Antunes 14 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,174 Mal angesehen und es wurde von 175 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!