Zustand + Chrome Storage

Vanilla Zustand and the Storage API as a single source of truth in Chrome Extensions.
This demo extension fetches data from pokeapi.co and displays it in a popup.
Getting Started
Clone the repository:
bash
gh repo clone drewalth/chrome-extension-zustandInstall dependencies:
bash
npm installRun the development server:
bash
npm run devLoad the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" if it is not already enabled.
- Click on "Load unpacked" and select the
distdirectory of this repository. For convenience, you can pin the extension to your toolbar. - The extension should now be loaded and ready to use.