When using
in any screen that is not rendered at startup (when the app is loading) it works, otherwise not. When not working the following error is displayed
mapStateToProps() in Connect(Dashboard) must return a plain object. Instead received undefined.
- node_modules/react-redux/lib/utils/warning.js:14:18 in warning
It looks like the store is not ready so rendering the startup components needs to be delayed until the store is rehydrated maybe?