FormidableLabs / freactal

Clean and robust state management for React and React-like libs.
MIT License
1.65k stars 47 forks source link

A State Factory for Freactal #103

Open bingomanatee opened 6 years ago

bingomanatee commented 6 years ago

I'm working in Freactal and finding that making a factory for the state lets you do a lot of useful shorthand that just having a config object does not. Here's the work to date; if people like it I'll put it up as an NPM module.

https://gist.github.com/bingomanatee/089bbdd493367ac45cd1b8220130d4b5