O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Verifying the client-side routing functionality

To ensure that the client-side routing is functioning properly, you can exercise the following procedure:

  1. Access the Products page in your web browser and open up the web browser's inspector.
  2. Click on the network tab to watch network traffic, and make sure to filter on XHR calls. Now, click on a product item to get to the product's detail page.
  3. Return to the Products page by clicking the Products link on the navigation menu.

Repeat this process several times, and you should be able to see all the XHR calls being made in the background. Figure 5.7 includes a screenshot of this procedure to verify that the client-side routing is functioning properly:

Figure 5.7: The XHR calls in the web console ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required