r-park / todo-react-redux

Todo app with Create-React-App • React-Redux • Firebase • OAuth
https://todo-react-redux.firebaseapp.com
MIT License
1.02k stars 272 forks source link

Expected the routing state to be available either as state.routing or as the custom expression you can specify as selectLocationState in the syncHistoryWithStore() options. #50

Closed roberto68 closed 8 years ago

roberto68 commented 8 years ago

I'm getting this error

r-park commented 8 years ago

Hi @roberto68

roberto68 commented 8 years ago

yes I'm using the latest code - I customize it a bit but not the firebase folder /src/core/firebase where I get the error - in browser console. Sorry thought I merged it but I used the old version of this project and I copied the firebase folder - my bad

roberto68 commented 8 years ago

ok now it's fine but I get sync.js:39Uncaught Error: Expected the routing state to be available either asstate.routingor as the custom expression you can specify asselectLocationStatein thesyncHistoryWithStore()options. Ensure you have added therouterReducerto your store's reducers viacombineReducersor whatever method you use to isolate your reducers.

r-park commented 8 years ago

Double-check your versions of these files: