Skip to content
#

LocalStorage

LocalStorage is a JavaScript object that allows storing arbitrary key-value pairs in the web browser as an alternative to cookies—another alternative if the data in question goes beyond key-value pairs is to use the IndexedDB.

localStorage data is specific to the protocol of the document. In particular, for a site loaded over HTTP (e.g., http://example.com), localStorage returns a different object than localStorage for the corresponding site loaded over HTTPS (e.g., https://example.com).

Here are 8,515 public repositories matching this topic...

React Caches is a lightweight and easy-to-use package that simplifies the management of local storage and cache storage in your React-based applications. With this package, you can easily access and manage data stored in local storage, cache storage, and other local storage used by JavaScript.

  • Updated Jul 6, 2024
  • TypeScript