diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-03-16 23:41:17 +0000 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-03-17 17:12:10 +0000 |
commit | 3de8e6e7782b21da3d4efa2e9592634307980d22 (patch) | |
tree | bcc7ffd9ff7fa109e1c33d5b036bb0b065499854 /pages/guide | |
parent | c67f11499310e874ac07844cabf4f05719da8aed (diff) | |
download | lustre-3de8e6e7782b21da3d4efa2e9592634307980d22.tar.gz lustre-3de8e6e7782b21da3d4efa2e9592634307980d22.zip |
:construction: Scaffold side effects guide.
Diffstat (limited to 'pages/guide')
-rw-r--r-- | pages/guide/03-side-effects.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pages/guide/03-side-effects.md b/pages/guide/03-side-effects.md new file mode 100644 index 0000000..fa86b92 --- /dev/null +++ b/pages/guide/03-side-effects.md @@ -0,0 +1,24 @@ +# 03 Side effects + +Lustre's implementation of the Model-View-Update architecture includes one +additional piece of the puzzle: managed side effects. + +## Why managed effects? + +## Writing your own effects + +## Effects without dispatch + +So far, we have seen side effects that are expected to _return something_ to our +program. If we fire an HTTP request, it wouldn't be much use if we couldn't get +the response back! + +## Getting help + +If you're having trouble with Lustre or not sure what the right way to do +something is, the best place to get help is the [Gleam Discord server](https://discord.gg/Fm8Pwmy). +You could also open an issue on the [Lustre GitHub repository](https://github.com/lustre-labs/lustre/issues). + +While our docs are still a work in progress, the official [Elm guide](https://guide.elm-lang.org) +is also a great resource for learning about the Model-View-Update architecture +and the kinds of patterns that Lustre is built around. |