---
title: "Discussion on \"useState Vs useReducer\" | Hashnode"
description: "Discussion on \"useState Vs useReducer\". Most junior web developers often get confused about these hooks.\nThey are both used to manage states.  But useReducer is preferred in managing complex states.\nThese hooks are called into action whenever there is a need to render different items on th..."
url: "https://hashnode.com/posts/usestate-vs-usereducer/63e845553ad2cf63c406a512"
---

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

Discussion

# [useState Vs useReducer](https://frontendstuff.hashnode.dev/usestate-vs-usereducer?utm_source=hashnode&utm_medium=feed)

Most junior web developers often get confused about these hooks. They are both used to manage states. But useReducer is preferred in managing complex states. These hooks are called into action whenever there is a need to render different items on th...

Feb 12, 2023 · 2 min read · frontendstuff.hashnode.dev  
Read the article

-   [#usestate-hook](https://hashnode.com/tag/usestate-hook)
-   [#usereducer](https://hashnode.com/tag/usereducer)

## Written by

[Prince](https://hashnode.com/@Prius)

@Prius

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

Frontend Engineer

I am a frontend developer from Nigeria, currently enrolled at Altschool Africa for a software Engineering degree. I love to learn, grow, collaborate and help others become better

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
