From 29216b226f90a97ca14df1c95cdaddb698a6a050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Corr=C3=AAa=20Souza?= Date: Sat, 7 Oct 2023 11:44:06 -0300 Subject: [PATCH] docs: clarify what "once per signal change" means (#1858) --- docs/book/src/view/02_dynamic_attributes.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/book/src/view/02_dynamic_attributes.md b/docs/book/src/view/02_dynamic_attributes.md index 85dc29b21e..c095b6d706 100644 --- a/docs/book/src/view/02_dynamic_attributes.md +++ b/docs/book/src/view/02_dynamic_attributes.md @@ -145,9 +145,10 @@ Derived signals let you create reactive computed values that can be used in mult places in your application with minimal overhead. Note: Using a derived signal like this means that the calculation runs once per -signal change and once per place we access `double_count`; in other words, twice. This is a -very cheap calculation, so that’s fine. We’ll look at memos in a later chapter, which -are designed to solve this problem for expensive calculations. +signal change (when `count()` changes) and once per place we access `double_count`; +in other words, twice. This is a very cheap calculation, so that’s fine. +We’ll look at memos in a later chapter, which re designed to solve this problem +for expensive calculations. > #### Advanced Topic: Injecting Raw HTML >