DEV Community

loading...
Cover image for Using localStorage API - Good idea? Bad idea? Thoughts?

Using localStorage API - Good idea? Bad idea? Thoughts?

dewofyouryouth_43 profile image Jacob E. Shore ・1 min read

I've been playing around w/ the idea of using the browser localStorage API instead of a backend/database (for lightweight apps ). Here's a basic todo app made with Vuejs and the localStorage API.

Todo with localStorage

Has anyone done this? Good idea? Bad idea? Thoughts?

demo page

Discussion

pic
Editor guide