Skip to content

useMinimapContext

useMinimapContext(): MinimapContextValue

Defined in: src/components/editor/Minimap/MinimapContext.ts:30

Subscribe to all Minimap state. Convenient catch-all but re-renders on every store mutation. For perf-sensitive consumers, prefer the slice-specific hooks (useMinimapHover, useMinimapGeometry, useMinimapDragState).

Returns

MinimapContextValue