This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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