unistore
unistore copied to clipboard
🌶 350b / 650b state container with component actions for Preact & React
Just tried to take a stab at adding support for https://github.com/skatejs/skatejs but ran into a few issues: 1. Jest seems to not be friendly with custom elements since you cannot...
I tried to use the UMD React build from unpkg, but it failed with `Uncaught TypeError: Cannot read property 'Component' of undefined`. I think it's because it expects to find...
Admittedly I can't run the tests on my Windows machine :( So take this PR with a grain of salt. > npm-run-all --silent -p build:main build:integrations build:combined -s size docs...
`unistore/preact` always resolves to a cjs file and I think that `unistore/full/preact` resolves to a cjs file too, there are `.es.js` files in this directory, but Im not aware if...
I would like to suggest adding these. They are very common use cases and for each and every redux-like lib i use i usually end up having to write it...
Hi, I'm the creator of Reless-js (https://github.com/Alber70g/reless-js) which is basically the same thing as unistore. I've used an `update` to update things in an async matter, but it's nicer to...
When binding a function manually.... ```js import createStore from 'unistore' const store = createStore({ count: 0, stuff: [] }) const myAsyncAction = async (state, store) => { await somethingAsync() .......
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...