@embra/reactivity - v0.0.3
    Preparing search index...

    Variable useCombinedConst

    useCombined: UseCombined = ...

    Combines an array of ReadableLikes into a transformed value.

    Note that changes to transform and config will not trigger re-derivation, and useCombine always uses the latest transform and config in the derivation. In other words, no extra care is needed to use this in React components. All args will be updated properly.

    import { useCombined } from "@embra/reactivity/react";

    function App({ width$, height$ }) {
    const size = useCombined(
    [width$, height$],
    ([width, height]) => ({ width, height }),
    { equal: (s1, 22) => s1.width === s2.width && s1.height === s2.height }
    );
    }