---
title: "Discussion on \"How to use localStorage in React\" | Hashnode"
description: "Discussion on \"How to use localStorage in React\". In one of my previous articles, I have explained how to use react context for state management. In this tutorial, we will see how to access local storage and use it to store the application state.\nWe will be building an application to input the name ..."
url: "https://hashnode.com/posts/how-to-use-localstorage-in-react/630b712156df9e8e5024eb69"
---

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

Discussion

# [How to use localStorage in React](https://codingdeft.hashnode.dev/how-to-use-localstorage-in-react?utm_source=hashnode&utm_medium=feed)

In one of my previous articles, I have explained how to use react context for state management. In this tutorial, we will see how to access local storage and use it to store the application state. We will be building an application to input the name ...

Aug 28, 2022 · 10 min read · codingdeft.hashnode.dev  
Read the article

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

## Written by

[Abhishek](https://hashnode.com/@codingdeft)

@codingdeft · India

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

Blogger @ codingdeft.com

Blogger at codingdeft.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
