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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • Reffects, the core framework for developing applications in a functional style using events, effects and coeffects.
  • Reffects store, an implementation of a store to use reffects inside a React application.
  • Batteries, some common effects/coeffects that can be useful for starting your application.

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.

About

Reffects is a Javascript framework for developing SPAs using an event-driven unidirectional flow architecture with a synchronous event bus with effects and coeffects.

License:MIT License


Languages

Language:JavaScript 100.0%