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

The Register step

To fulfill the register step (depicted in Figure 6.1), we must first register a client-side route and its respective handler function (depicted in the Route Handler box in Figure 6.2). For example, for the Products page, we would register the /products route and its associated handler function, ProductsHandler. When a user clicks on the Products link from the navigation bar, the click event will be intercepted by the isokit router and the handler function, ProductsHandler, which is associated with handling the /products route, will be called. The route handler function plays the role of executing the last two steps of the isomorphic handoff process—decode and attach.

Keep in mind that if the user were to land first on the ...

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