Skip to content
karelsteinmetz edited this page May 11, 2016 · 2 revisions

Bobflux

  • is pure functional implementation of FLUX architecture
  • is inspired by Flux, Reflux and Redux
  • fits and depends on Bobril

Installation

npm i bobflux --save

Fun-model

  • 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.

Common keywords in Bobflux application

  • 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.)

Livecycle

Getting started video [cz]

Getting started video