RFluxx

Motivation

I wrote some blog posts that should cover the idea and motivation behind the framework:

Core concepts

The core concepts that you need to understand to work with the framework are the following:

  • Stores: Stores keep track of the state of the UI of your app. They are implemented as an observable and can be subscribed by your components. This subscription allows for up to date state being available in the components all the time.
  • Actions: Actions are to be triggered by components whenever a state change is required. They are usually provided by stores but can also stand for themselves. When triggered an action event object must be provided.
  • Action Event: Whenever an action is triggered we call this an action event. An action event is also the object that is provided as parameter when triggering an action. It transports information from components to the stores.