Using localStorage in JavaScript

Опубликовано: 09 Октябрь 2024
на канале: LogRocket
32,212
193

Learn the basics of using localStorage in your JavaScript apps with ‪@CognitiveSurge‬!

You can find the original blog post here on the LogRocket blog: https://blog.logrocket.com/localstora...

00:00 LogRocket intro
00:15 Is localStorage supported by all browsers?
01:08 Where is localStorage kept?
01:20 What is sessionStorage and localStorage?
01:37 Setting up localStorage in JavaScript
02:34 What is localStorage in JavaScript?
03:08 What does Window.localStorage do?
03:18 How does localStorage work?
03:30 What is localStorage setItem()?
05:51 What is localStorage getItem()?
08:16 What is localStorage removeItem()?
08:54 What does localStorage clear() do?
10:46 What are the major limitations of localStorage?
11:10 localStorage overview
13:11 Bonus: What is key() in localStorage?

LogRocket is a frontend monitoring solution that combines session replay, performance monitoring, and product analytics to help software teams create an ideal product experience. Try it for free: http://logrocket.com/yt

Links
  / logrocket  
  / logrocket  
   / cognitivesurge