Local storage

PHOTO EMBED

Mon Feb 22 2021 17:21:08 GMT+0000 (Coordinated Universal Time)

Saved by @bifrost #react.js

// setter
localStorage.setItem('myData', data);
 
// getter
localStorage.getItem('myData');
 
// remove
localStorage.removeItem('myData');
 
// remove all
localStorage.clear();
content_copyCOPY