Connecting routing for debugging

What did we miss? The simple applications we tried out in previous sections of this chapter didn't include routing—but what would have happened if they did? The problem now is visible: whenever the user navigates to a new route, nothing in the state would keep track of that change, so the time machine functions wouldn't really work. To solve this, we need to keep the router information in sync with the store, and that will restore full functionality to our debugging; let's see here how to do that.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.111.85