React Tutorial | How to Use the React useState Hook in a Real App | 10-Minute Tutorials

2 years ago
19

Getting started with React Hooks?

👉 Let's walk through a realistic example that will show you how to use the useState hook.

In this tutorial, we'll start building the basics of a simple game where you can raise pets! We'll make heavy use of the useState hook to get things working, we'll look at how components talk to each other, and we'll get set up for the next video where we'll look at useEffect.

Starter Github Repo: https://github.com/techmakerstudio/simple-pet-game-starter
React Hooks Docs: https://reactjs.org/docs/hooks-intro.html

Loading comments...