ReactStateMuseum
ReactStateMuseum copied to clipboard
A whirlwind tour of React state management systems by example
I would love to have native examples of all the state systems in https://snack.expo.io/ This is a bit of a haul, help needed.
https://github.com/facebook/relay Relay handles state and data fetching we could also manage local state using client schema extensions
Since we're collecting all of them, there's freezer for state handling too, which is missing implementation here. https://github.com/arqex/freezer
Perhaps this awesome table on the main readme should list the NPM costs? ![image](https://user-images.githubusercontent.com/997157/40279640-81b67fd8-5c0b-11e8-8012-ff761ea08e53.png) I'm not sure that's a fair thing to list? Just thinking it will help kill all...
[React Contextual](https://github.com/drcmda/react-contextual) works with the react context API. Here a detailed explanation: https://github.com/drcmda/react-contextual/blob/master/PITFALLS.md
[React Copy Write](https://github.com/drcmda/react-contextual) is an immutable React state management library. Works with [Immer](https://github.com/mweststrate/immer). See the [Demo](https://codesandbox.io/s/yp34vpk50j)
Github: https://github.com/diegohaz/constate. Demo: https://codesandbox.io/s/7p2qv6mmq.
The automata React Native needs updates, including its tests. If anybody wants to help, they can take a look at #87 in which the web version was updated.
### Keeping this museum up to date: Would be great to have a small script that can run through and execute `updtr` on all the libraries to get them on...
[Akita](https://github.com/datorama/akita) is a framework agnostic state management pattern, built on top of RxJS