MAIDR Documentation - v3.58.2
    Preparing search index...
    • Custom hook that manages the full Controller lifecycle for a MAIDR plot instance.

      Handles:

      • Controller creation on focus-in (deferred -- no throwaway Controller on mount)
      • Controller disposal on focus-out
      • Visibility change re-creation
      • Timer cleanup and stale-closure prevention
      • Unmount cleanup

      Parameters

      • data: Maidr

        The MAIDR configuration describing the plot

      • store: EnhancedStore

        The per-instance Redux store

      Returns UseMaidrControllerResult

      Refs, context value, and event handlers for the component to wire up