---
title: "Discussion on \"How and when to use useReducer\" | Hashnode"
description: "Discussion on \"How and when to use useReducer\". 1. useReducer\nuseReducer is a react hook used for state management. useReducer can be used as a substitute for useState. useState uses useReducer internally, demonstrating that it can perform all tasks that useState can.\nuseReducer takes in two argum..."
url: "https://hashnode.com/posts/how-and-when-to-use-usereducer/635c06d1bbc2086b2f9cce97"
---

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

Discussion

# [How and when to use useReducer](https://kabuchokuria.hashnode.dev/how-and-when-to-use-usereducer?utm_source=hashnode&utm_medium=feed)

1\. useReducer useReducer is a react hook used for state management. useReducer can be used as a substitute for useState. useState uses useReducer internally, demonstrating that it can perform all tasks that useState can. useReducer takes in two argum...

Oct 28, 2022 · 5 min read · kabuchokuria.hashnode.dev  
Read the article

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

## Written by

[Isaac Kuria](https://hashnode.com/@kabszac)

@kabszac

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

Full stack software engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
