Adding a Router to ContactsApp

Learn how to add routers to our application. Get a brief introduction to pushState.

Creating a new file for the router

Now that we have a better idea of how routing should be used, let’s add a router to our ContactsApp by creating a new file:

Get hands-on with 1200+ tech skills courses.