0.9.0 • Published 8 years ago

reactive-loop v0.9.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

An rxjs-based reactive loop and a link to React

If you have used React, chances are that you have heard of Flux. If you've heard of Flux, chances are you've heard of redux.

You wouldn't be alone to think of reactive-loop as yet another flux-thingy.

Even so, after having used redux and similar styles of setting up a frontend, I still have found value in putting this together and see if somebody else likes to base a flux-like architecture on rxjs' Observables and some polish around it.

Much of the usage revolves around the possibillity to define functions of the form

function(action, state) {
  return state'
}

(which in reactive-loop are called AppFuncs). While testing the whole thing a number of additional necessary features came to be.

  • Ability to return a Promise<State>
  • Ability to dispatch actions as well as Observables that return actions.
  • A way to handle errors while looping around
  • A builder pattern to set up an application, with the ability to add literal objects as apps based on conventions

Getting started

In the repository you will find two samples (for now), which show off a number of possibilities available with reactive-loop. You can run

npm run samples:run

You also have the documentation.

0.9.0

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago