cyclejs-community / one-fits-all

The one-fits-all flavor for create-cycle-app
MIT License
34 stars 8 forks source link

customizing one-fits-all by using rxjs instead of xstream #93

Closed brucou closed 6 years ago

brucou commented 6 years ago

This great template comes with a set of defaults that I need to customize. One thing I could not resolve is how to replace the xstream library by rxjs. Any example somewhere?

jvanbruegge commented 6 years ago

You have to replace import { run } from '@cycle/run' with import { run } from '@cycle/rxjs-run'. That way the drivers will return observables. But you are right that should be documented

brucou commented 6 years ago

will put a Q&A on stack overflow too, to spread the info, and also it can be refernced. thanks for quick answer