cloverfield-tools / universal-react-boilerplate

A simple boilerplate Node app.
MIT License
904 stars 97 forks source link

Updated react-router-redux related code. #85

Closed ghost closed 8 years ago

ghost commented 8 years ago

There were some changes in react-router-redux package. Updated the code with latest changes on using store and history:

const store = createStore(
  combineReducers({
    ...reducers,
    routing: routerReducer
  })
)

// Create an enhanced history that syncs navigation events with the store
const history = syncHistoryWithStore(browserHistory, store)
ghost commented 8 years ago

Sorry, did not run the tests. Will send a new pull request.