diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-19 11:44:59 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-19 11:44:59 +0100 |
commit | d70ba66fafb485c9d4541a503ff55f96c5c5255e (patch) | |
tree | 34107b29b88c8735bfefd4ad9f33d9ad85351314 /test | |
parent | 29fb9e5e92cc12430d10762e9f7a4ae1f3642445 (diff) | |
download | lustre-d70ba66fafb485c9d4541a503ff55f96c5c5255e.tar.gz lustre-d70ba66fafb485c9d4541a503ff55f96c5c5255e.zip |
:truck: Rename 'Cmd' to 'Effect' to better communicate what they're all about.
Diffstat (limited to 'test')
-rw-r--r-- | test/examples/counter.gleam | 2 | ||||
-rw-r--r-- | test/examples/input.gleam | 2 | ||||
-rw-r--r-- | test/examples/nested.gleam | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/examples/counter.gleam b/test/examples/counter.gleam index 0bff35b..3858fc6 100644 --- a/test/examples/counter.gleam +++ b/test/examples/counter.gleam @@ -9,7 +9,7 @@ import lustre/event // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) diff --git a/test/examples/input.gleam b/test/examples/input.gleam index 9916000..352e480 100644 --- a/test/examples/input.gleam +++ b/test/examples/input.gleam @@ -11,7 +11,7 @@ import lustre/html.{div, input, label, pre} // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) diff --git a/test/examples/nested.gleam b/test/examples/nested.gleam index bd94abe..b16c4ba 100644 --- a/test/examples/nested.gleam +++ b/test/examples/nested.gleam @@ -11,7 +11,7 @@ import lustre/html.{div} // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) |