---
title: "Discussion on \"How I created a set counter, using React Custom Hooks (useState and useReducer)\" | Hashnode"
description: "Discussion on \"How I created a set counter, using React Custom Hooks (useState and useReducer)\". using useState and useReducer to create set counter increment, decrement and reset  in react"
url: "https://hashnode.com/posts/how-i-created-a-set-counter-using-react-custom-hooks-usestate-and-usereducer/63bdd6e6428cb1e7e7e37960"
---

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

Discussion

# [How I created a set counter, using React Custom Hooks (useState and useReducer)](https://otenevictor.hashnode.dev/how-i-created-a-set-counter-using-react-custom-hooks-usestate-and-usereducer?utm_source=hashnode&utm_medium=feed)

using useState and useReducer to create set counter increment, decrement and reset in react

Jan 10, 2023 · 4 min read · otenevictor.hashnode.dev  
Updated Jan 29, 2025  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Otenevictor](https://hashnode.com/@Otenevictor)

@Otenevictor

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

FrontEnd Engineer

Software engineer with a passion for crafting beautiful and intuitive user experiences. I've honed my skills in HTML, CSS, JS, React and Vue for over a time period.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
