reading-notes

How to Use Local Storage

Local Storage and How To Use It On Websites

  1. You can use local storage to make teh website “remember” users through cookies.
  2. Info that compromises the users security shouldnt be used in local storage.
  3. Local storage can only hold strings so you have to use JSON.stringify and JSON.parse to convert.