Chok’s React Utilities
    Preparing search index...

    Class SharedState<T>

    Please use sharedState() instead.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    initDone: boolean = false
    setValueBounded: Dispatch<SetStateAction<T>>

    Methods

    • Parameters

      • next: SetStateAction<T>

      Returns void

    • Parameters

      • subscriber: () => void

      Returns () => void