---
title: "Discussion on \"Explaining React useState to a 4 years old.\" | Hashnode"
description: "Discussion on \"Explaining React useState to a 4 years old.\". What is useState ?\nuseState is a React hook that allows us to access state in a functional component. In React versions less than 16.7, if we wanted to create a component that needed state we have to do that using the class method, now with the help ..."
url: "https://hashnode.com/posts/explaining-react-usestate-to-a-4-years-old/614a48ec699fe76cd3487491"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Explaining React useState to a 4 years old.](https://ot.hashnode.dev/explaining-react-usestate-to-a-4-years-old?utm_source=hashnode&utm_medium=feed)

What is useState ? useState is a React hook that allows us to access state in a functional component. In React versions less than 16.7, if we wanted to create a component that needed state we have to do that using the class method, now with the help ...

Sep 21, 2021 · 4 min read · ot.hashnode.dev  
Read the article

-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Amietubodie Collins Otonye](https://hashnode.com/@Otonye7)

@Otonye7 · Lagos Nigeria

  
[View profile](https://hashnode.com/@Otonye7)

Web Development

I am software developer from lagos nigeria. My tech stacks are react js, react native, node js, express js, mongoDb and postgresql

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
