This document discusses isomorphic JavaScript applications. Isomorphic apps allow developers to write code that runs both on the server and client using the same JavaScript. This avoids maintaining separate codebases and allows search engines to index content rendered on the server. The document outlines how isomorphic apps handle rendering, routing, data fetching and modules in a consistent way across server and client. It provides an example of building a simple isomorphic app and demonstrates core concepts like rendering, routing and data fetching.
39. ISOMORPHISM
Request
from user
(HTTP)
Load
the same
JavaScript
on client
«Hook»
into the
rendered
app
Respond
with
HTML
Render
on server
with
JavaScript
Request
from user
(HTTP)
Load
the same
JavaScript
on client
«Hook»
into the
rendered
app
Respond
with
HTML
Render
on server
with
JavaScript