1.1.0 • Published 7 years ago

react-underground v1.1.0

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

this is a project about modularizing all state transition code to the component

given such, all impure / async / network behaviour can me modularized and composabilized to be triggered by actions at will.

there are four things a component can have

action

object with .type or .async

reducer

(state, action)=> nuState

decay

(state)=> shouldDecay // predicate actionOnDecay

name

unique name for lexical scope in application

the HOC here is meant to facade the redux workflow without redux, and to provide the concept of state decay modes.

state decays are triggered from componentWillReceiveProps

only when the predicate changes from false to true will the decayAction be triggered

it is conceivable that a series of downstream sync actions could be triggered together (without rendering)

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago