aboutsummaryrefslogtreecommitdiff
path: root/test-apps/change-tag
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-04-05 13:22:40 +0100
committerGitHub <noreply@github.com>2024-04-05 13:22:40 +0100
commitfa1f447bd0eaf9d27b6af407f90477b81e70b358 (patch)
tree9c72f3408e94fbe8b50a2390a0bd13d0754c19bc /test-apps/change-tag
parent99ba44fe0cc19cfc4191bd95ec6fccaea080a929 (diff)
downloadlustre-fa1f447bd0eaf9d27b6af407f90477b81e70b358.tar.gz
lustre-fa1f447bd0eaf9d27b6af407f90477b81e70b358.zip
🔀 Write a guide on server-side rendering. (#103)
* :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.
Diffstat (limited to 'test-apps/change-tag')
-rw-r--r--test-apps/change-tag/src/app.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-apps/change-tag/src/app.gleam b/test-apps/change-tag/src/app.gleam
index 78c29d2..ee4950d 100644
--- a/test-apps/change-tag/src/app.gleam
+++ b/test-apps/change-tag/src/app.gleam
@@ -26,7 +26,7 @@ pub fn main() {
type Model =
String
-fn init(_) -> Model {
+fn init(_flags) -> Model {
"div"
}