Documentation - v20.0.0-dev
    Preparing search index...
    • The value of a setting and its setter, as useState gives them: the component renders again when the setting changes, whoever changes it.

      Type Parameters

      • TValue

      Parameters

      Returns readonly [TValue, (action: SetStateAction<TValue>) => void]

      [value, setValue].