The Decode step

Within the route handler function, we initiate an XHR call to the Rest API endpoint, that will return the encoded data that represents the state we wish to maintain on the client side. Once the encoded data is obtained, we will perform the third step, Decode (depicted in Figure 6.1), of the isomorphic handoff procedure. In this step, we decode the encoded data back into an object instance. The object instance is then utilized to populate the corresponding field of the template data object that is passed to the Template Renderer (depicted in Figure 6.2), so that the web page can be successfully rendered on the client side, in the same manner as it was rendered on the server side.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.160.181