In the previous chapter, you learned how to write tests with Jest for all the elements of our Redux application.
Until now, our application only consisted of a single page. Most growing applications, however, use multiple pages to ensure the user interface does not get too cluttered. For example, let's assume we want to add some information about the blog, like an About section. As this information is not always important to the user, it would not make sense to always display it on the main page. Hiding the information with our HiddenContent component would work, but be a bit clumsy if we wanted to add other kinds of content/pages later. To be able to use multiple pages, we are going to implement a router in our application. Furthermore, the router can provide separate pages for the post category filters.
In this chapter, you are going to learn how to implement multiple...