---
title: "Discussion on \"How to use useReducer ?\" | Hashnode"
description: "Discussion on \"How to use useReducer ?\". Hello Everyone, In this blog we will discuss about useReducer hook in an easy way with an example. So let's get started.\nWhat is useReducer ?\n\nIt is an alternative for useState.\nuseReducer is similar to useState. but useReducer is used to manage comp..."
url: "https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1"
---

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

Discussion

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

Hello Everyone, In this blog we will discuss about useReducer hook in an easy way with an example. So let's get started. What is useReducer ? It is an alternative for useState. useReducer is similar to useState. but useReducer is used to manage comp...

May 11, 2022 · 5 min read · bhaktee.hashnode.dev  
Read the article

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

## Written by

[Bhakti Kharatkar](https://hashnode.com/@Bhaktee)

@Bhaktee · Maharashtra, India

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

Front-end developer | JavaScript | React

## Responses 5

Markdown supported · ⌘↵ to post

[VaibhavMatere](https://hashnode.com/@vaibhavmatere)

[May 11, 2022](https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1/comment/627bcd35e525f1b6771372db)

Very well explained... Good that you provide CSB link with those code snippets.

[Sada mariya](https://hashnode.com/@sadaMariya)

[May 11, 2022](https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1/comment/627b8d87e525f1b67713672c)

explained very well...

[Vaibhav Kishor Mahalle](https://hashnode.com/@vaibhav-mahalle)

[May 11, 2022](https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1/comment/627b809fe525f1b6771364f2)

very well explained with example

[Jantu Deb](https://hashnode.com/@jantudeb)

[May 11, 2022](https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1/comment/627b73b7983a4ab69ce9c6b9)

Nice blog 👌

[Tushar Tiwari](https://hashnode.com/@tushartiwari)

[May 11, 2022](https://hashnode.com/posts/how-to-use-usereducer/627b65fbe525f1b677135ff1/comment/627b6a8fe525f1b677136081)

Great read [Bhakti Kharatkar](https://hashnode.com/@Bhaktee)!
