These are chat archives for SmartFocus/reactjs
React is Awesome! All are welcome but please use English, unless you’re swearing.
I really need some help wrapping my brain around react-router-dom and redux, take this for example https://github.com/ReactTraining/react-router/tree/master/packages/react-router-redux in the comment it says
Now you can dispatch navigation actions from anywhere!
which sounds awesome, so from anywhere inside my app I can call store.dispatch and access my state and reducers. Only problem is, since the react-router-dom is now regular components that can be dumped anywhere, the Provider is not passing anything down through the app structure (Im guessing this is why the store isn't accessible). I created this dummy app https://gist.github.com/kristiannissen/b9a9ef1904eb40af9c305e06af4cf0fc for testing but as I said, I need help getting the it working.
What is the "best practise" approach to react-router-dom and redux? I guess the question I need answered is, now do I access the store from the Tacos component?