---
title: "Discussion on \"React hooks: How to convert useState to useReducer\" | Hashnode"
description: "Discussion on \"React hooks: How to convert useState to useReducer\". useState and useReducer are both React hooks that allow you to manage state in your components. useState is a simpler hook that allows you to manage a single piece of state, while useReducer is more powerful and allows you to manage more complex stat..."
url: "https://hashnode.com/posts/react-hooks-how-to-convert-usestate-to-usereducer/64b8beb29deb96dfe189a6bc"
---

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

Discussion

# [React hooks: How to convert useState to useReducer](https://lyndsiwilliams.hashnode.dev/react-hooks-how-to-convert-usestate-to-usereducer?utm_source=hashnode&utm_medium=feed)

useState and useReducer are both React hooks that allow you to manage state in your components. useState is a simpler hook that allows you to manage a single piece of state, while useReducer is more powerful and allows you to manage more complex stat...

Jul 20, 2023 · 3 min read · lyndsiwilliams.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Lyndsi Williams](https://hashnode.com/@lyndsiWilliams)

@lyndsiWilliams

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

Detail-oriented, solution-focused, painfully optimistic front end web developer. Programming is my passion!

Detail-oriented, solution-focused, painfully optimistic front end web developer. Programming is my passion!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
