Function useCell

  • Returns a tuple of the current value of the cell and a publisher function (similar to useState). The component will be re-rendered when the cell value changes.

    Type Parameters

    • T

    Parameters

    Returns readonly [T, ((value) => void)]

    A tuple of the current value of the cell and a publisher function.

    Remarks

    If you need just a publisher, use usePublisher.

Generated using TypeDoc