Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { makeDOMDriver } from '@cycle/dom';
import Cycle from '@cycle/core'
import intent from './intent'
import model from './model'
import view from './view'
Cycle.run(
({ DOM }) => {
return { DOM: view(model(intent(DOM))) };
},
{
DOM: makeDOMDriver('body')
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.