Interface SubscriptionCallbackMutationDirect

Context passed to a subscription callback when directly mutating the state of a store with store.someState = newValue or store.$state.someState = newValue.

interface SubscriptionCallbackMutationDirect {
    events: DebuggerEvent;
    storeId: string;
    type: direct;
}

Hierarchy (view full)

Properties

Properties

🔴 DEV ONLY, DO NOT use for production code. Different mutation calls. Comes from https://vuejs.org/guide/extras/reactivity-in-depth.html#reactivity-debugging and allows to track mutations in devtools and plugins during development only.

storeId: string

id of the store doing the mutation.

type: direct

Type of the mutation.

Generated using TypeDoc