The Elm Architecture in Redux, statically checked using flow
Atempt to be as close as possible to Elm Architecutre in means of composition and static typing, and not lose Redux good parts (devtools) in the process.
Following parts are statically type checked with flow:
-
init and update functions input and result
-
view props
-
action creation, both on view events and effects results (tagged action creation is also checked, when composing views and effects). This is achieved with disjoint union
Slight variation implemented on top of redux-loop, so it can be statically type-checked.
Full hot reload and time travel compatibility. Keeping it that way is of high priority
TODO: Tagged actions pretty print
Please check the famous Elm nesting examples