LocalStorage and Cookies under the hoodies are examples of things we use without knowing what is happening behind the scenes. The Web Storage API provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookies. The main purpose is being an alternative to Cookies.
Table of contents
What is web storage?Why do we have storage on browsers?Advantages and traps using web storageCookiesHow does it work?When should we use one rather than the other?Final considerationsSort: