docs: clarify what "once per signal change" means (#1858)

This commit is contained in:
Artur Corrêa Souza
2023-10-07 11:44:06 -03:00
committed by GitHub
parent 32ba0ce4fb
commit 29216b226f

View File

@@ -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 thats fine. Well 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 thats fine.
Well look at memos in a later chapter, which re designed to solve this problem
for expensive calculations.
> #### Advanced Topic: Injecting Raw HTML
>