DEV Community

Cover image for Using localStorage API - Good idea? Bad idea? Thoughts?
Jacob E. Shore
Jacob E. Shore

Posted on

2 1

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

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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay