paint-brush
I Wrote a Library to Make Using localStorage Easier. by@zellwk
469 reads
469 reads

I Wrote a Library to Make Using localStorage Easier.

by Zell Liew3mJuly 4th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

LocalStorage takes in only string values. If you want to save an object, you have to convert it into a JSON object. This is troublesome because of the extra need to use `JSON.stringify` and `Jos.parse` Instead of using localStorage, localStore uses localStorage to save objects and get them from localStorage. It calls 'Joscript' for you so you don’t have to remember whether the value is a string or a Joscript object.

Company Mentioned

Mention Thumbnail
featured image - I Wrote a Library to Make Using localStorage Easier.
Zell Liew HackerNoon profile picture
Zell Liew

Zell Liew

@zellwk

I'm just a developer who loves to share what I discovered. I primarily write at my blog and cross-post here.

About @zellwk
LEARN MORE ABOUT @ZELLWK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Zell Liew HackerNoon profile picture
Zell Liew@zellwk
I'm just a developer who loves to share what I discovered. I primarily write at my blog and cross-post here.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Gitlab
Trendradars
Unni