Problem I have been told for my code below i need to “Improve and optimise the codebase of the application […]
Tag: browser-storage
Saving preferences in localStorage
Problem I am working on a small app to help my kids study their multiplication and addition. And I have […]
Persistent Object using localStorage
Problem The goal is to make an object that persists upon page reloads, have an interface as close as possible […]
better localStorage api
Problem I wasn’t quite happy with the way localStorage handles non-string values, for example localStorage.setItem(“foo”,{test:5});localStorage.getItem(“foo”); returns string literal ‘[object Object]’, […]
Getters and Setters for localStorage
Problem I have written the following get/set for a username which is stored in local Storage. Do you think this […]