Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
localStorage

6 Articles
{
,

}
Image
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 …

Image
Sarah Drasner on Nov 5, 2020 Updated on Nov 6, 2020
Image
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 …

Image
Ido Shamun on Oct 21, 2020
Image
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 …

Image
Hunor Márton Borbély on Jun 24, 2020
Image
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 …

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

KV Storage

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

…
Image
Chris Coyier on Apr 1, 2019
Image
Direct link to the article An Overview of Client-Side Storage
cookies data Indexeddb localStorage

An Overview of Client-Side Storage

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
…
Image
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
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top
Advertisement