Hook to access debug actions (mutations) via DebugActionsContext.
Use this hook when you need to perform debug state mutations without subscribing to state changes.
exportfunctionuseDebugActions(): DebugActionsContextValue { constcontext = useContext(DebugActionsContext); if (context === undefined) { thrownewError("useDebugActions must be used within a DebugProvider"); } returncontext; }
Hook to access debug actions (mutations) via DebugActionsContext. Use this hook when you need to perform debug state mutations without subscribing to state changes.