Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
localStorage

6 Articles
{
,

}
Direct link to the article Quick LocalStorage Usage in Vue
localStorage vue

Quick LocalStorage Usage in Vue

localStorage can be an incredibly useful tool in creating experiences for applications, extensions, documentation, and a variety of use cases. I’ve personally used it in each! In cases where you’re storing something small for the user that doesn’t need to …

Avatar of Sarah Drasner
Sarah Drasner on Nov 5, 2020 (Updated on Nov 6, 2020)
Direct link to the article A Primer on the Different Types of Browser Storage
cache cookies Indexeddb kv storage localStorage parameters

A Primer on the Different Types of Browser Storage

In back-end development, storage is a common part of the job. Application data is stored in databases, files in object storage, transient data in caches… there are seemingly endless possibilities for storing any sort of data. But data storage isn’t …

Avatar of Ido Shamun
Ido Shamun on Oct 21, 2020
Direct link to the article How to Make localStorage Reactive in Vue
localStorage reactivity vue vue mixins

How to Make localStorage Reactive in Vue

Reactivity is one of Vue’s greatest features. It is also one of the most mysterious if you don’t know what it’s doing behind the scenes. Like, why does it work with objects and arrays and not with other things, like …

Avatar of Hunor Márton Borbély
Hunor Márton Borbély on Jun 24, 2020
Direct link to the article The Browser Can Remember Edited Content
contenteditable localStorage

The Browser Can Remember Edited Content

You can make the text inside any HTML element editable by adding the contenteditable attribute.

<div contenteditable>
  Hey, I'm like a textarea kinda now!
</div>

I wouldn’t say there are wheelbarrows full of use-cases for that, but it’s neat. One …

Avatar of Chris Coyier
Chris Coyier on May 22, 2019
Direct link to the article KV Storage
database Indexeddb localStorage store

KV Storage

Direct Link

localStorage is…

  • Good! It’s an incredibly easy API to use.
  • localStorage.setItem('name', 'Chris'); let name = localStorage.getItem('name');
  • Bad! Philip Walton explains why:

localStorage is a synchronous API that blocks the main thread, and any time you access it you potentially prevent

…
Avatar of Chris Coyier
Shared by Chris Coyier on Apr 1, 2019
cookies data Indexeddb localStorage

An Overview of Client-Side Storage

Direct Link

Ire Aderinokun:

There are currently four active methods for storing data on the client side.

  1. Cookies (old school, still useful because they are sent with server requests)
  2. Local Storage (very easy to use)
  3. Session Storage (exactly the same, only
…
Avatar of Chris Coyier
Shared by Chris Coyier on Dec 19, 2016

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top