From 88a48d46aff4946a49075e77f267b604082f1997 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Mon, 30 Jun 2025 08:34:57 -0400 Subject: [PATCH] clarify wording (closes #217) --- src/ssr/22_life_cycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssr/22_life_cycle.md b/src/ssr/22_life_cycle.md index d469991..f2ecd29 100644 --- a/src/ssr/22_life_cycle.md +++ b/src/ssr/22_life_cycle.md @@ -38,6 +38,6 @@ The browser will _not_ make another round trip to the server, reloading the full Instead, the WASM version of your app will load the new page, right there in the browser, without requesting another page from the server. Essentially, your app upgrades itself from a server-loaded “multi-page app” into a browser-rendered “single-page app.” This yields the best of both worlds: a fast initial load time due to the server-rendered HTML, and fast secondary navigations because of the client-side routing. -Some of what will be described in the following chapters—like the interactions between server functions, resources, and ``—may seem overly complicated. You might find yourself asking, “If my page is being rendered to HTML on the server, why can’t I just `.await` this on the server? If I can just call library X in a server function, why can’t I call it in my component?” The reason is pretty simple: to enable the upgrade from server rendering to client rendering, everything in your application must be able to run either on the server or in the browser. +Some of what will be described in the following chapters—like the interactions between server functions, resources, and ``—may seem overly complicated. You might find yourself asking, “If my page is being rendered to HTML on the server, why can’t I just `.await` this on the server? If I can just call library X in a server function, why can’t I call it in my component?” The reason is pretty simple: to enable the upgrade from server rendering to client rendering, everything in your application must be able to run on both the client and the server. This is not the only way to create a website or web framework, of course. But it’s the most common way, and we happen to think it’s quite a good way, to create the smoothest possible experience for your users.