[docs] clarify readable callback timing (#6725)

#6724
pull/6744/head
Simon H 3 years ago committed by GitHub
parent 98aefd3cf6
commit 88204355d3
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. The callback runs initially when the first subscriber subscribes and then whenever the store dependencies change.
In the simplest version, `derived` takes a single store, and the callback returns a derived value.

Loading…
Cancel
Save