---
title: "Discussion on \"How to use the useState hook in React\" | Hashnode"
description: "Discussion on \"How to use the useState hook in React\". React is a very powerful JavaScript library, I'm sure everyone will agree right? One of the most advantageous aspects of React is the ability to re-render part of your UI based on some state that you hold values in.\nI'm going to show you here in a fe..."
url: "https://hashnode.com/posts/how-to-use-the-usestate-hook-in-react/5f9ab6e1a1658252d1a7b6c7"
---

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

Discussion

# [How to use the useState hook in React](https://blog.alanmontgomery.co.uk/how-to-use-the-usestate-hook-in-react?utm_source=hashnode&utm_medium=feed)

React is a very powerful JavaScript library, I'm sure everyone will agree right? One of the most advantageous aspects of React is the ability to re-render part of your UI based on some state that you hold values in. I'm going to show you here in a fe...

Oct 29, 2020 · 4 min read · blog.alanmontgomery.co.uk  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Alan Montgomery](https://hashnode.com/@alanmontgomery)

@alanmontgomery · Belfast, Northern Ireland

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

Frontend Development Lead

Hello, there 👋 I'm Alan! I love teaching people how to code, and making coding tutorials, one of my big passions is transferring my web development/coding skills and knowledge on to people like you! 🔥 ...I'm a 29-year-old Software Developer based in Belfast in Northern Ireland. My current full-time role is Frontend Development Lead where I lead and oversee all the frontend development for our new platform and framework, built in NextJS, React TailwindCSS bundled in a NX mono-repo. I am also the Mobile Team Lead where I develop apps for our company using the Ionic Framework and React javascript. Throughout this blog, expect to see How to posts about coding on all aspects of HTML, CSS, Javascript (JS), ReactJS, NodeJS, PHP, and even the odd review of cool UI Frameworks or libraries that I've found. 🔔 Be sure to subscribe to my YouTube channel if you want to catch my quick, easy to follow coding tutorials! 🔔

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
