From fa1f447bd0eaf9d27b6af407f90477b81e70b358 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Fri, 5 Apr 2024 13:22:40 +0100 Subject: =?UTF-8?q?=F0=9F=94=80=20Write=20a=20guide=20on=20server-side=20r?= =?UTF-8?q?endering.=20(#103)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :memo: Fix typos in state management guide. * :memo: Begin writing ssr guide. * :memo: Rename discard init arg to '_flags' in all examples. * :memo: Show simple static HTML rendering example. * :memo: Expand hydration section. * :memo: Finish ssr guide. * :wrench: Add ssr guide to built docs pages. --- examples/05-http-requests/src/app.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/05-http-requests') diff --git a/examples/05-http-requests/src/app.gleam b/examples/05-http-requests/src/app.gleam index 9442cf3..5e0df3e 100644 --- a/examples/05-http-requests/src/app.gleam +++ b/examples/05-http-requests/src/app.gleam @@ -38,7 +38,7 @@ type Quote { Quote(author: String, content: String) } -fn init(_) -> #(Model, Effect(Msg)) { +fn init(_flags) -> #(Model, Effect(Msg)) { #(Model(quote: None), effect.none()) } -- cgit v1.2.3