3 ms·
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 no
by onion2k 5y ago
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.