react-model
react-model copied to clipboard
The next generation state management library for React
Sometimes we want to watch a store state and do some effects like this, by easy-peasy https://easy-peasy.vercel.app/docs/api/effect-on.html ```typescript export default createStore({ items: [], saving: false, setSaving: action((state, payload) => {...
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Cause of the `__hash` function setter has been executed in `stateUpdater: Middleware ` we don't need to executed this `__hash` state update again in `communicator` middleware, i think it should...
When you are developing your web application, you have to perform asynchronous operations, e.g. perform a fetch/ajax call to obtain data from the server. Sometimes you need to do silent...
I have a: 3. [x] Idea: * [x] What problem would it solve for you? 🐛 Developer can subscribe the state changes. `v2.x api` ```typescript // subscribe actions // (storeName,...
Think about the current version vs koa middleware, we've implemented it as an array and it make confusing and chaos here, I think koa middleware is a classic model looks...
Sometimes we have one state and its value will be changed if and only if another state is changed. Nowadays we have to update their states manually in actions, for...
There are duplicate repos when searching from Google react-model