my blog https://overreacted.io

diagram

+8
public/what-does-use-client-do/diagram.png

This is a binary file and will not be displayed.

+8
public/what-does-use-client-do/index.md
··· 587 587 The server and the client are two sides of a single program. They're separated by time and space so they can't share the execution context and directly `import` each other. The directives "open the doors" across time and space: the server can *render* the client as a `<script>`; the client can *talk back* to the server via `fetch()`. But `import` is the most direct way to express that, so directives make it happen. 588 588 589 589 Makes sense, doesn't it? 590 + 591 + --- 592 + 593 + ### P.S. 594 + 595 + Here's a little architectural diagram that you can use for your slides: 596 + 597 + <img src="./diagram.png" alt="A black and white yin yang symbol" width={200} />