mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
docs: clarify what "once per signal change" means (#1858)
This commit is contained in:
committed by
GitHub
parent
32ba0ce4fb
commit
29216b226f
@@ -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
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user