---
title: "Discussion on \"Understanding useReducer hook\" | Hashnode"
description: "Discussion on \"Understanding useReducer hook\". Note:\n\nuseReducer is a hook that is used for state management\n\nIt's an alternative to useState\n\nuseState is built using useReducer\n\nWith useReducer function, we have two parameters\n useReducer(reducer, initialState)\n\nThe reducer function accepts two ..."
url: "https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2"
---

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

Discussion

# [Understanding useReducer hook](https://jennifer-chi.hashnode.dev/understanding-usereducer-hook?utm_source=hashnode&utm_medium=feed)

Note: useReducer is a hook that is used for state management It's an alternative to useState useState is built using useReducer With useReducer function, we have two parameters useReducer(reducer, initialState) The reducer function accepts two ...

Jul 12, 2023 · 3 min read · jennifer-chi.hashnode.dev  
Read the article

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

## Written by

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

@jennifer-chi · Nigeria

  
[View profile](https://hashnode.com/@jennifer-chi)

Software Developer

Hey😊... Welcome to my profile. I am Chioma Jennifer Muofunanya. A passionate developer skilled in HTML, CSS, JavaScript, React, Node.js, MongoDb and Express. Let's connect and create something amazing together

## Responses 7

Markdown supported · ⌘↵ to post

[Mmesoma](https://hashnode.com/@SomaMaryann)

[Jul 21, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64bab5a9553279ef7cf45968)

This was well-explained🙌.

[Clarine Antiba](https://hashnode.com/@clarine)

[Jul 17, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b515400470cd817f0e29b4)

Analyzed well and easy to undrstand

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 17, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b515400470cd817f0e29b4#reply-64b517a0d139b7a4d9852a84)

Thanks Clarine😊

[Olivia Oputa](https://hashnode.com/@oputaolivia)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b1476b0470cd817f0dc495)

Nice one Chioma 😌

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b1476b0470cd817f0dc495#reply-64b16b930470cd817f0dc96f)

Thank you Olivia😊

[Chukwuebuka Muofunanya](https://hashnode.com/@Chuk-Cy)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b141860470cd817f0dc3e5)

Amazing write up Kudos 👍

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b141860470cd817f0dc3e5#reply-64b16b840470cd817f0dc965)

Thank you🤗🥰

[Chukwuebuka Muofunanya](https://hashnode.com/@Chuk-Cy)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b140da0470cd817f0dc3b3)

Amazing write up Kudos 👍

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b140da0470cd817f0dc3b3#reply-64b16b7238e3f282a6187f6d)

Thank you Ebuka😊

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b124e7cce44f7fef1da901)

That was really detailed 👍👍, well done dear🥰

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b124e7cce44f7fef1da901#reply-64b16b5d38e3f282a6187f65)

Thank you Kosi😊

[Samson Amaugo](https://hashnode.com/@swacblooms)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b11500cce44f7fef1da66b)

Nice one ✍️

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 14, 2023](https://hashnode.com/posts/understanding-usereducer-hook/64aeceb1b1c8a037695516d2/comment/64b11500cce44f7fef1da66b#reply-64b11609b3f62f7fbf59a876)

Thank you Sammy🤗
