Function unstable_createComputedArray
- unstable_createComputedArray<I, O>(
arr: ISignal<I[]>,
getGetter: (itemSignal: ISignal<I>, index: number) => () => O,
): Readonly<O[]> Experimental
Parameters
- arr: ISignal<I[]>
- getGetter: (itemSignal: ISignal<I>, index: number) => () => O
Returns Readonly<O[]>
A proxied array signal.
Creates a computed array signal in Alien Signals, deriving a reactive array from an original signal array.