Closed hungdev closed 2 years ago
i misunderstand about chrome.storage and localStorage
What was the conclusion / fix here?
@cancan101
chrome.storage will save data in extension storage, and localStorage will save in chrome => application tab
so im using chrome.storage.local.set
, it cant save in application tab. If you want to save to application tab of chrome, you need to use localStorage.setItem
thank for your template, @lxieyang In Popup.jsx i used:
I can see the log 'Settings saved' show up, but when i inspect and open Application tab, i dont see value that i inserted here? what's wrong with me?