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 shopping cart functionality

Now it's time to verify that the state of the shopping cart is maintained from the server to the client, as the user adds and removes items from the shopping cart.

Verifying that isomorphic handoff was successfully implemented is straightforward. We simply need to verify that the server-side generated shopping cart page is identical to the client-side generated shopping cart page. By clicking on the shopping cart icon, we can see the client-side generated web page. By clicking on the refresh button while on the shopping cart page, we can see the server-side generated web page.

Starting out, there are no items placed in the shopping cart. Figure 6.7 is a screenshot depicting the shopping cart in its ...

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