persist-and-sync icon indicating copy to clipboard operation
persist-and-sync copied to clipboard

Support for chrome.storage API

Open TrySpace opened this issue 8 months ago • 0 comments

I'd like to have support for chrome local storage (local/session/sync), because using localStorage does not work for a chrome extension because it's in a sandboxed environment and you have to use the native chrome.storage interface...

Here is a fairly simple implementation using native zustand persist middleware implementation: https://github.com/brokeboiflex/zustand-chrome-storage

TrySpace avatar Jun 07 '25 10:06 TrySpace