aboutsummaryrefslogtreecommitdiff
path: root/examples/05-http-requests/README.md
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-03-31 16:11:31 +0100
committerGitHub <noreply@github.com>2024-03-31 16:11:31 +0100
commit35e2b90ba65176ae2fce6c109c28ab5bbe7e1fe9 (patch)
treeef814105444e6557c02ba10665a9a66367f4aced /examples/05-http-requests/README.md
parenta38b93cbb6e75be285df673285d433fb00c77684 (diff)
downloadlustre-35e2b90ba65176ae2fce6c109c28ab5bbe7e1fe9.tar.gz
lustre-35e2b90ba65176ae2fce6c109c28ab5bbe7e1fe9.zip
🔀 Create a guide on using and creating side effects. (#93)
* :memo: Explain why managed effects are useful. * :memo: Write a short explainer on pure functions. * :memo: Finish side effects guide. * :wrench: Add side effects guide to generated pages.
Diffstat (limited to 'examples/05-http-requests/README.md')
-rw-r--r--examples/05-http-requests/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/05-http-requests/README.md b/examples/05-http-requests/README.md
index 4a118e4..c5fe073 100644
--- a/examples/05-http-requests/README.md
+++ b/examples/05-http-requests/README.md
@@ -51,8 +51,8 @@ want the Lustre runtime to execute before the next invocation of the `view`
function.
> **Note**: notice how the type of `view` remains the same. In Lustre, your `view`
-> is always a [_pure function_](https://en.wikipedia.org/wiki/Pure_function) that
-> takes a model and returns the UI to be rendered: we never perform side effects
+> is always a [_pure function_](https://github.com/lustre-labs/lustre/blob/main/pages/hints/pure-functions.md)
+> that takes a model and returns the UI to be rendered: we never perform side effects
> in the `view` function itself.
## HTTP requests as side effects