Syntax - Tasty Web Development Treats cover image

10 Nifty Browser APIs

Syntax - Tasty Web Development Treats

What's the Difference Between Local and Session Storage?

3min Snip

00:00
Play full episode
Local storage is probably the most commonly used one. If you want to be able to store like objects or numbers it's best to store them as jason, so that when you pull them out again they will maintain their structure and types. There's also session storage which goes away once a tab has closed. I personally don't use session storge for anything, so i'd be really interested in seeing what other uses there are.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode