Comment

Comment by kmlx

i still don't understand the core issue: why is anyone saving essential data to localstorage? isn't that supposed to be a state-related, somewhat temporary (due to its nature) storage in-between the UI and the API/database? don't you lose all your data when you use a different pc or smartphone?

i see a lot of mentions of cordova apps. are people publishing apps without a backend (and save everything in localstorage)?

i've worked on pwa's in the past but server sync was always a priority in my algorithms.

does anyone have any realistic use cases where localstorage is so essential that clearing it would somehow lose tons of data?

parent kmlx 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton