5 Matching Annotations
- Dec 2022
- Jul 2021
-
www.theatlantic.com www.theatlantic.com
-
By making the storage and organization of information everyone’s responsibility and no one’s, the internet and web could grow, unprecedentedly expanding access, while making any and all of it fragile rather than robust in many instances in which we depend on it.
-
- Dec 2020
-
stackoverflow.com stackoverflow.com
-
class Session extends Map { set(id, value) { if (typeof value === 'object') value = JSON.stringify(value); sessionStorage.setItem(id, value); } get(id) { const value = sessionStorage.getItem(id); try { return JSON.parse(value); } catch (e) { return value; } } }
-
I think that the webStorage is one of the most exciting improvement of the new web. But save only strings in the value key-map I think is a limitation.
-
-
developer.mozilla.org developer.mozilla.org
-
The Web Storage API provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookies.
-