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
I'd like to have support for chrome local storage (local/session/sync), because using
localStoragedoes not work for a chrome extension because it's in a sandboxed environment and you have to use the nativechrome.storageinterface...Here is a fairly simple implementation using native zustand
persistmiddleware implementation: https://github.com/brokeboiflex/zustand-chrome-storage