|
|
|
@ -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.
|
|
|
|
|
|
|
|
|
|
|
|
|