[docs] clarify readable callback timing

#6724
pull/6725/head
Simon H 5 years ago committed by GitHub
parent c040f130b7
commit 4b23c4fbe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -357,7 +357,7 @@ store = derived([a, ...b], callback: ([a: any, ...b: any[]], set: (value: any) =
--- ---
Derives a store from one or more other stores. Whenever those dependencies change, the callback runs. Derives a store from one or more other stores. Whenever those dependencies change or the first subscriber subscribes, the callback runs.
In the simplest version, `derived` takes a single store, and the callback returns a derived value. In the simplest version, `derived` takes a single store, and the callback returns a derived value.

Loading…
Cancel
Save