Cookies vs LocalStorage vs SessionStorage
Introduction
Cookies have been there for a long time. They are helpful for storing stateful elements like auth tokens and user interaction habits on the website.
Then, HTML5 introduced LocalStorage & SessionStorage, which gave much larger storage cap...
ayush20800.hashnode.dev2 min read