Conformal TypeScript API
    Preparing search index...

    Function useUiState

    • Hook to get and set the ui state.

      This is only valid in a subtree that is wrapped in a UiStateProvider.

      UI State is arbitrary data managed by the react UI that is not connected to any plug-in parameters. This data is saved in the DAW alongside the plug-in, and persists between DAW sessions.

      Type Parameters

      • T

      Returns { set: (update: T) => void; value: T | undefined }