{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/521","repository_url":"https://api.github.com/repos/reactjs/react-router-redux","labels_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/521/comments","events_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/521/events","html_url":"https://github.com/reactjs/react-router-redux/issues/521","id":205665073,"number":521,"title":"Duplicate Renders using Link or Back Button","user":{"login":"withintheruins14","id":2576699,"avatar_url":"https://avatars.githubusercontent.com/u/2576699?v=3","gravatar_id":"","url":"https://api.github.com/users/withintheruins14","html_url":"https://github.com/withintheruins14","followers_url":"https://api.github.com/users/withintheruins14/followers","following_url":"https://api.github.com/users/withintheruins14/following{/other_user}","gists_url":"https://api.github.com/users/withintheruins14/gists{/gist_id}","starred_url":"https://api.github.com/users/withintheruins14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withintheruins14/subscriptions","organizations_url":"https://api.github.com/users/withintheruins14/orgs","repos_url":"https://api.github.com/users/withintheruins14/repos","events_url":"https://api.github.com/users/withintheruins14/events{/privacy}","received_events_url":"https://api.github.com/users/withintheruins14/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-06T18:11:31Z","updated_at":"2017-02-06T19:06:11Z","closed_at":"2017-02-06T19:06:11Z","body":"I am seeing duplicate renders when I click a Link or use the back button. This does not appear to be an issue of hashHistory vs browserHistory. I am on `\"react-router-redux\": \"4.0.7\"`. Setting adjustUrlOnReplay to false doesn't appear to do anything. One more clue is that when I see this bug, I am always given a `only one instance of babel-polyfill is allowed` and about 30 - 50 print warnings pertaining to just about any anything and everything. As always, really appreciate any help!\r\n\r\n**configureStore.js**\r\n```\r\nimport { createStore, applyMiddleware, combineReducers, compose } from 'redux'\r\nimport thunk from 'redux-thunk'\r\nimport logger from 'redux-logger'\r\nimport rootReducer from '../reducers'\r\nimport createSagaMiddleware from 'redux-saga'\r\nimport rootSaga from '../sagas/sagas'\r\nimport promiseMiddleware from 'redux-promise-middleware'\r\nimport { syncHistoryWithStore} from 'react-router-redux'\r\nimport { browserHistory } from 'react-router'\r\nimport { apiMiddleware } from 'redux-api-middleware';\r\n\r\nconst sagaMiddleware = createSagaMiddleware()\r\n\r\nconst initialState = {\r\n};\r\n\r\nconst enhancers = compose(\r\n  window.devToolsExtension ? window.devToolsExtension() : f => f\r\n);\r\n\r\nconst store = createStore(rootReducer, initialState, compose(\r\n    applyMiddleware(apiMiddleware, thunk, logger(), sagaMiddleware),\r\n    typeof window === 'object' && typeof window.devToolsExtension !== 'undefined' ? window.devToolsExtension() : f => f\r\n  ));\r\n\r\nexport const history = syncHistoryWithStore(browserHistory, store);\r\nsagaMiddleware.run(rootSaga);\r\nexport default store;\r\n```\r\n\r\n\r\n\r\n\r\n**routes.js**\r\n```\r\nimport App from './App'\r\nimport '...a bunch of different components'\r\nimport { Provider } from 'react-redux'\r\nimport { Router, Route, IndexRoute, browserHistory } from 'react-router'\r\nimport store, { history } from './store/configureStore.js'\r\n\r\nconst router = (\r\n  <Provider store={store}>\r\n    <Router history={history}>\r\n      <Route path=\"/\" component={App}>\r\n        <IndexRoute component={TeamsContainer}/>\r\n        <Route path=\"teams\" component={TeamsContainer} />\r\n        <Route path=\"teams/:teamId\" component={TeamContainer} />\r\n        <Route path=\"teams/:teamId/add_member\" component={AddMemberContainer} />\r\n        <Route path=\"teams/:teamId/team_members/:teamMemberId\" component={TeamMemberContainer} />\r\n      </Route>\r\n    </Router>\r\n  </Provider>\r\n)\r\n\r\nif ( $('#app').length ) {\r\n  ReactDOM.render(router, document.getElementById('app'));\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/comments/277779910","html_url":"https://github.com/reactjs/react-router-redux/issues/521#issuecomment-277779910","issue_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/521","id":277779910,"user":{"login":"timdorr","id":17882,"avatar_url":"https://avatars.githubusercontent.com/u/17882?v=3","gravatar_id":"","url":"https://api.github.com/users/timdorr","html_url":"https://github.com/timdorr","followers_url":"https://api.github.com/users/timdorr/followers","following_url":"https://api.github.com/users/timdorr/following{/other_user}","gists_url":"https://api.github.com/users/timdorr/gists{/gist_id}","starred_url":"https://api.github.com/users/timdorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdorr/subscriptions","organizations_url":"https://api.github.com/users/timdorr/orgs","repos_url":"https://api.github.com/users/timdorr/repos","events_url":"https://api.github.com/users/timdorr/events{/privacy}","received_events_url":"https://api.github.com/users/timdorr/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T19:06:11Z","updated_at":"2017-02-06T19:06:11Z","body":"This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!"}}
{"actor":{"display_login":"timdorr"}}