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

Summary

In this chapter, we introduced you to isomorphic handoff, the means by which the server passes off state to the client. This is a significant procedure, that allows the client to pick up where the server left off in an isomorphic web application. We demonstrated the ERDA strategy to implement isomorphic handoff for the product-related web pages as well as the shopping cart web page. While implementing the shopping cart feature, we created a server-side session store, which acted as the source of truth for the current state of the user's shopping cart. We implemented server-side endpoints to implement the functionality to get items from the shopping cart, add items to the shopping cart, and remove items from the shopping cart. Finally, ...

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