reweex is a redux wrapper for webextensions. It uses the messaging system of the webextension-API to make redux stores available in all parts of a webextension.
Use the package manager npm to install reweex
.
npm install reweex
First initialize a store-server in the background script:
const store = createStoreServer(reducers);
Then initialize a store-proxy in any content-script or popup you would like to use redux:
async function initApp() {
const store = createStoreProxy();
}
initApp()
- Typescript - programming language
- webpack - module bundler
- Redux - predictable state container
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Nils-Börger Margotti - Maintainer - Nols1000
This project is licensed under the GPLv3 License - see the LICENSE-file for details
- Alexander Ivantsov for his redux-webext-library