From 77ff5b2ec163cc8010f2b0727fef293796819d60 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Fri, 8 Mar 2024 12:16:10 +0100 Subject: :memo: Note that documentation is written for v4 not v3. --- examples/03-controlled-inputs/README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/03-controlled-inputs') diff --git a/examples/03-controlled-inputs/README.md b/examples/03-controlled-inputs/README.md index 46c0d74..4696c6d 100644 --- a/examples/03-controlled-inputs/README.md +++ b/examples/03-controlled-inputs/README.md @@ -2,6 +2,10 @@ # 03 Controlled Inputs +> **Note**: this guide is written for Lustre v4. The latest stable release of +> Lustre is v3. To follow along with this guide, you need to _manually_ edit your +> `gleam.toml` and change the required version of lustre to `"4.0.0-rc.2"`. + The most common way to handle inputs and other state-holding elements is in a _controlled_ way. This means your app's model is the source of truth for that element's state, and you update that state based on user input or other events. -- cgit v1.2.3