We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d3aaa7 + e8a725c commit ca09e36Copy full SHA for ca09e36
README.md
@@ -38,7 +38,7 @@ import xs from 'xstream';
38
import Cycle from '@cycle/xstream-run';
39
import {makeDOMDriver} from '@cycle/dom';
40
import {makeRouterDriver} from 'cyclic-router';
41
-import {createHistory} from 'history';
+import {createBrowserHistory} from 'history';
42
import switchPath from 'switch-path'; // Required in v3, not required in v2 or below
43
44
function main(sources) {
@@ -61,7 +61,7 @@ function main(sources) {
61
62
Cycle.run(main, {
63
DOM: makeDOMDriver('#app'),
64
- router: makeRouterDriver(createHistory(), switchPath) // v3
+ router: makeRouterDriver(createBrowserHistory(), switchPath) // v3
65
// router: makeRouterDriver(createHistory()) // <= v2
66
});
67
```
0 commit comments