architecture-samples icon indicating copy to clipboard operation
architecture-samples copied to clipboard

Experimental functional reactive state production

Open tunjid opened this issue 2 years ago • 1 comments

An experimental branch for functional reactive state production based on the stateflow branch.

It offers feature parity with the existing branch and tries to establish some core FRP state production concepts:

  • Idiomatically functional: All inputs are eventually reduced into the UI state
  • No side effects: all changes to state must be modeled in the stream
  • Restricted UI state visibility: The state production pipeline cannot read the UI state until is ready to make changes to it
  • Well defined inputs: All information required to process an action must be present at the input of the action

tunjid avatar May 26 '22 18:05 tunjid

MVI? Who's MVI? I'm just a functional reactive state production approach!

image

manuelvicnt avatar May 27 '22 05:05 manuelvicnt