Live data from Hacker News

Don't rely on LocalStorage

blog.jacobweisz.com

21–30 of 71 posts

Re: Don't rely on LocalStorage

#23
> Ultimately, people should have control of their data, and they should have access to their data from all of their devices. Whether that is running their own or renting someone else's, that ultimately means the correct place to store web app data is on a server.

Hrm. But I don't have control of my data on a server. The person running the server does. There is currently no good way to satisfy both of these conditions on the web: control of my data, and access from all my devices.

Re: Don't rely on LocalStorage

#25
post #18

I kinda got the feeling that this article was mainly written to take advantage of the Wordle hype. Overall I didn't get much of substance and I felt that the main takeaway was disingenuous to what the goals of the developer were. As if it's always wrong to use local storage. I'm sure the developer knew the limitations of using local storage. And it definitely rubbed me the wrong way when the author called it "lazy" t…

The author does not have their own game and isn't promoting anything. Except that LocalStorage makes the author very sad.

Re: Don't rely on LocalStorage

#26
This article is a brilliant example of one of my favorite phrases: "Perfect is the enemy of good."

No doubt localStorage has a few issues and drawbacks, but none of them really matter to the majority of users. No one expects persisted statistics across devices without logging in. No users care about the technical issues moving to a new domain. Using it for Wordle got the job done well and sold for a million bucks. Obviously localStorage was good enough for that, and probably for most other cases people use it for.

Re: Don't rely on LocalStorage

#27
post #18

I kinda got the feeling that this article was mainly written to take advantage of the Wordle hype. Overall I didn't get much of substance and I felt that the main takeaway was disingenuous to what the goals of the developer were. As if it's always wrong to use local storage. I'm sure the developer knew the limitations of using local storage. And it definitely rubbed me the wrong way when the author called it "lazy" t…

The author does not have their own game and isn't promoting anything. Except that LocalStorage makes the author very sad.

Oh, you're totally right. I don't know how I misunderstood that sandstorm platform as being their game. Thanks for the correction!

Re: Don't rely on LocalStorage

#28
post #19

Seems like this article misses one critical point. Part of the wordle attraction was the friction free ability to play. Click on a link, type in a 5 letter word and you are playing. I suspect it would not have gained popularity anywhere near as quickly if step #1 was create an account.

I see it as one should not use local storage because some future owner (which might never happen) could have issues with your solution.

That is like insane argument.

Future owner should do due diligence and factor any issues in, NYT has a quick fix that will be there probably forever, but hey life goes on.

Post reply on HN