Closed hesidoryn closed 7 years ago
@HeorhiSidorin maybe you have history@4.x.x
in your dependencies. If that's the case, downgrading it to version 3.2.1 should fix this error.
history@4.x.x
.like so:
import { createBrowserHistory } from 'history'
router: makeRouterDriver(createBrowserHistory(), switchPath)
I merged the README PR referenced above.
I'm a beginner in cyclejs( in nodejs too). And i can't run example in readme. I installed all nedded packages, but i see an error "makeHistoryDriver throws error for a proper history object...". Can you correct example in readme and explain me why this error causes? Sorry for maybe dumb question.