The letter S in a light blue, stylized speech bubble followed by SpeakBits
SpeakBitsThe letter S in a light blue, stylized speech bubble followed by SpeakBits
Trending
Top
New
Controversial
Search
Groups

Enjoying SpeakBits?

Support the development of it by donating to Patreon or Ko-Fi.
About
Rules
Terms
Privacy
EULA
Cookies
Blog
Have feedback? We'd love to hear it!

How javascript localstorage works and how to master it

chat-to.dev
submitted
7 mos ago
bygorpo85toprogramming

Summary

LocalStorage is one of the Web Storage APIs that allows you to store data persistently in the user's browser. Unlike'sessionStorage', which stores data until the browser tab is closed, 'localStorage' keeps data until it is explicitly removed.

Most browsers allow you to store up to 5MB of data in localStorage. It is therefore good practice to check that it is available before attempting to use it.

7

0 Comments

There are no comments on this post yet.