Everything is fine, except we cannot really select a feed from the menu. We have the state property activeFeedUrl, which is already considered by the Menu component, but we have never used the setActiveFeed action so far to set this state. Nonetheless, in the Menu component, we provided all the items with hash links. To serve browser location navigation, we need a router. There are many implementations available as installable modules. Yet, in this simple example, we will create our own:
./app/ts/Services/Router.ts
import * as Redux from "redux"; import { IRootState, IMenuItem } from "../Interfaces"; import actions from "../Actions/actions"; export default class Router { constructor( private store: Redux.Store<IRootState> ) { } getFeedUrlById( id: string ): string { const { state } = this.store...