Skip to content

derive

derive<Sources, T>(sources, compute, equals?): EditorInput<T>

A value computed from other inputs, recomputed when one of them changes and quiet while equals holds.

Sources extends readonly EditorInput<unknown>[]

T

Sources

(…values) => T

(left, right) => boolean

EditorInput<T>