Understanding Local Storage
Learn about the basics of local storage.
We'll cover the following...
The Web Storage API for JavaScript provides mechanisms for browsers to store key/value pairs. For each web browser, the size of data that can be stored in web storage is at least 5 MB per origin. The localStorage is defined in the Web Storage API for JavaScript. We need to use JS interop to access localStorage on the browser.
The browser's localStorage is scoped to a particular URL. If the user reloads the page or closes and reopens the browser, the contents of ...