Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit 8bc27b9

Browse files
committed
Merge remote-tracking branch 'origin/master' into synchronicity
2 parents 60fa049 + 528b2f0 commit 8bc27b9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

examples/basic/app.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import React from 'react'
66
import ReactDOM from 'react-dom'
77
import { createStore, combineReducers } from 'redux'
88
import { Provider } from 'react-redux'
9-
import { Router, Route, IndexRoute, hashHistory } from 'react-router'
9+
import { Router, Route, IndexRoute, browserHistory } from 'react-router'
1010
import { syncHistoryWithStore, routerReducer } from 'react-router-redux'
1111

1212
import * as reducers from './reducers'
@@ -18,8 +18,7 @@ const reducer = combineReducers({
1818
})
1919

2020
const DevTools = createDevTools(
21-
<DockMonitor toggleVisibilityKey="ctrl-h"
22-
changePositionKey="ctrl-q">
21+
<DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q">
2322
<LogMonitor theme="tomorrow" preserveScrollTop={false} />
2423
</DockMonitor>
2524
)
@@ -28,7 +27,7 @@ const store = createStore(
2827
reducer,
2928
DevTools.instrument()
3029
)
31-
const history = syncHistoryWithStore(hashHistory, store)
30+
const history = syncHistoryWithStore(browserHistory, store)
3231

3332
ReactDOM.render(
3433
<Provider store={store}>

examples/basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"react": "^0.14.7",
88
"react-dom": "^0.14.7",
99
"react-redux": "^4.3.0",
10-
"react-router": "^2.0.0-rc5",
10+
"react-router": "^2.0.0",
1111
"redux": "^3.2.1",
12-
"react-router-redux": "^3.0.0"
12+
"react-router-redux": "^4.0.0"
1313
},
1414
"devDependencies": {
1515
"babel-core": "^6.4.5",

0 commit comments

Comments
 (0)