• Returns a tuple where the first element is the value of the recoil state and the second is a setter to update that state. Subscribes component to updates of the given state.

    Type Parameters

    • T

    Parameters

    Returns [T, SetterOrUpdater<T>]