-
Notifications
You must be signed in to change notification settings - Fork 6
Home
karelsteinmetz edited this page May 11, 2016
·
2 revisions
- is pure functional implementation of FLUX architecture
- is inspired by Flux, Reflux and Redux
- fits and depends on Bobril
npm i bobflux --save
- is core of bobflux,
- is not dependent on bobril, can be used for React applications,
- there is fun-model you can see some notes about flux, immutability etc.
- one store for one application state
- application state:
- is global state
- is composition of sub states
- actions are create by action factory with specified cursor and handler. Handler creates new instance of state or it can return the same state
- Bobril is only for "rendering" (View)
- Bobril component context (b.IBobrilCtx) should be used for intermediate state (drag & drop, input border color on focus etc.)