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
Смотрите видео useState | React Hooks | React.js Tutorial #5 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bruno Antunes 14 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,174 раз и оно понравилось 175 людям.