---
title: "Discussion on \"Understanding useState hook with a real-world example -Part 2\" | Hashnode"
description: "Discussion on \"Understanding useState hook with a real-world example -Part 2\". Most of the time while working with real-world applications you would have to use arrays, objects, or an array of objects as states. In this blog, we will be implementing the add note, pin, unpin feature of Google Keep app with just useState hook.\n P..."
url: "https://hashnode.com/posts/understanding-usestate-hook-with-a-real-world-example-part-2/60ca369d8ce4491f0f29731f"
---

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

Discussion

# [Understanding useState hook with a real-world example -Part 2](https://janaki2399.hashnode.dev/understanding-usestate-hook-with-a-real-world-example-part-2?utm_source=hashnode&utm_medium=feed)

Most of the time while working with real-world applications you would have to use arrays, objects, or an array of objects as states. In this blog, we will be implementing the add note, pin, unpin feature of Google Keep app with just useState hook. P...

Jun 16, 2021 · 4 min read · janaki2399.hashnode.dev  
Updated Jul 21, 2021  
Read the article

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

## Written by

[Janaki S](https://hashnode.com/@Janaki23)

@Janaki23 · India

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

Software Engineer

Building and breaking things in web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
