My Logo
Basic useState Hook
001

Creating Basic Examples of the useState hook.

When I began learning React, I created these examples to solidify my understanding of the useState hook. Combining those with concepts like event listeners and array manipulation gave me a wide variety of applications to pull from in future projects.

From a simple counter with a button to add 1 each time...

To changing the value of something on a page based on an input...

Removing an item from an array with a button...

And changing an array based on multiple useStates...

All these concepts have laid the foundation of my React journey.

Simple Counter

0

Change On Input

0

My name is Kaleb and I am 0 years old

Single Array State

SamKalebAlexSean

Mult. Array States

A, B, C