cycle-circular
v0.2.0
Published
Cycle.js helper for circular dependencies.
Downloads
6
Readme
cycle-circular
Helper for creating circular proxy for cycle.js
WFT?
const foo = Foo({value$: bar.value$, DOM})
const bar = Bar({HTTP, prop$: foo.prop$})
import proxy from 'cycle-circular/rx'
...
const value$ = proxy()
const foo = Foo({value$, DOM})
const bar = Bar({HTTP, prop$: foo.prop$})
bar.value$.let(value$.proxy)
.subscribe(...)
Install
npm i cycle-circular @cycle/rx-adapter -S