View-agnostic fork of re-frame. Adapters for Om and Reagent are included.
For subscriptions uses freactive.core rx
which provides very similar functionality to Reagent's reaction
,
but allows more control, which helped to build non-leaky adapter for Om (it turned being tricky with reaction
).
Note, that starting from 0.3.0 Ampere has own implementation of freactive.core concept. Namespace and API are the same for backward compatibility, but would be eventually dropped in favor of more consistent ones.
Because I like re-frame approach, but sometimes I need to use Om in projects, but its cursors acts like MegaOhm resistors in architecture. We need more electric current to light up the bulb! And... if Om, why not any another View library? You can use Ampere with Om, Reagent — or write adapter for your favorite lib, it is easy to do.
[condense/ampere "0.3.1"]
See re-frame's README for general architecture use, freactive.core's README for deriving data with its tools. TodoMVC example is included in this repo.
Copyright © 2015 Ruslan Prokopchuk
Based on re-frame, copyright © 2015 Michael Thompson
Distributed under The MIT License (MIT) - See LICENSE.txt