trovit / reffects

Reffects is a Javascript framework for developing SPAs using an event-driven unidirectional flow architecture with a synchronous event bus with effects and coeffects.
MIT License
30 stars 15 forks source link
coeffects effects event-bus javascript reffects

reffects

Reffects

A Javascript framework for developing SPAs using an event-driven unidirectional-flow functional architecture.

Documentation

Reffects is a Javascript framework for developing SPAs using an event-driven unidirectional-flow functional architecture.

It's based on ClojureScript's re-frame. It promotes a functional programming style by using the effects as data pattern, in which event handlers are pure functions, and effects and coeffects are used to manage side effects and side causes, respectively.

This repository contains all the existing components of the reffects framework:

You can see an example of a small application using reffects in the with-react-todos folder

Contributing

Checkout our guide in case you want to propose some changes to reffects.