---
title: "Discussion on \"How to build a simple counter and a vending machine app with React hooks\" | Hashnode"
description: "Discussion on \"How to build a simple counter and a vending machine app with React hooks\". Today I will introduce to you what many would argue is the shiniest new feature of the popular React library - React Hooks.\nI personally am falling in love with the React.memo concept, but we can reserve it for another tutorial though.\nWe are here to..."
url: "https://hashnode.com/posts/how-to-build-a-simple-counter-and-a-vending-machine-app-with-react-hooks/5d238e96974afd900de866b5"
---

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

Discussion

# [How to build a simple counter and a vending machine app with React hooks](https://adyngom.com/how-to-build-a-simple-counter-and-a-vending-machine-app-with-react-hooks?utm_source=hashnode&utm_medium=feed)

Today I will introduce to you what many would argue is the shiniest new feature of the popular React library - React Hooks. I personally am falling in love with the React.memo concept, but we can reserve it for another tutorial though. We are here to...

Jul 8, 2019 · 10 min read · adyngom.com  
Updated Jul 8, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Ady Ngom](https://hashnode.com/@adyngom)

@adyngom · Alpharetta, GA

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

Building M.A.N.T.I.S (mantistech.io) | Angular Google Developer Expert | Talk and Teach about #Angular, #Javascript, #Web Development & Deve

Ady's first interaction with a computer was playing PacMan but he was more interested in knowing how it was built than how much fun it was to play it. For the past 20 years, Ady has strived in building simple, engaging and very intuitive consumer facing products. As a JavaScript Teach Lead and UI Architect, he spends a bulk of his time producing intuitive systems that are easy to scale and maintain. When away from the keyboard, he enjoys the Georgia outdoors with his wife and two daughters. To him, the unpredictable weather is a known issue that simply adds to the overall charm and he would not have it otherwise.

## Responses 1

Markdown supported · ⌘↵ to post

[Duduman Bogdan Vlad](https://hashnode.com/@dudumanbogdan)

[Jul 12, 2019](https://hashnode.com/posts/how-to-build-a-simple-counter-and-a-vending-machine-app-with-react-hooks/5d238e96974afd900de866b5/comment/5d28665be6fa8f1932eac302)

Just wondering if you have a stackblitz example to just run the demos?

[Ady Ngom](https://hashnode.com/@adyngom)

[Jul 12, 2019](https://hashnode.com/posts/how-to-build-a-simple-counter-and-a-vending-machine-app-with-react-hooks/5d238e96974afd900de866b5/comment/5d28665be6fa8f1932eac302#reply-5d289b84ef34dfdc6716764a)

Hello yes. I have left the links in the articles with the stackblitz editor . But if you want to just run the demos you can do this as well:

Counter: [react-tuxbr7.stackblitz.io](https://react-tuxbr7.stackblitz.io/)

Vending machine: [react-ruhwvv.stackblitz.io](https://react-ruhwvv.stackblitz.io/)

At this very moment seems like app url as a standalone is having issues on stackblitz
