---
title: "Discussion on \"Reducers in React - Making reducers lean and shedding that extra code.\" | Hashnode"
description: "Discussion on \"Reducers in React - Making reducers lean and shedding that extra code.\". Reducers are the basic building blocks of state handling in react.\nBut as my react project scaled with more and more states to handle, my reducer functions got bulkier with a lot of repeated code.\nThe below reducer is an example. If you look closely,..."
url: "https://hashnode.com/posts/reducers-in-react-making-reducers-lean-and-shedding-that-extra-code/5f849cd36ad92638db49408f"
---

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

Discussion

# [Reducers in React - Making reducers lean and shedding that extra code.](https://saurishkar.com/reducers-in-react-making-reducers-lean-and-shedding-that-extra-code?utm_source=hashnode&utm_medium=feed)

Reducers are the basic building blocks of state handling in react. But as my react project scaled with more and more states to handle, my reducer functions got bulkier with a lot of repeated code. The below reducer is an example. If you look closely,...

Oct 12, 2020 · 3 min read · saurishkar.com  
Read the article

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

## Written by

[Saurish Kar](https://hashnode.com/@saurishkar)

@saurishkar

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
