MobX-state-tree

MobX-state-tree

  • Documentation
  • TypeDocs
  • Sponsor
  • GitHub

›Interfaces

Introduction

  • Globals

Interfaces

  • CustomTypeOptions
  • FunctionWithFlag
  • IActionContext
  • IActionRecorder
  • IActionTrackingMiddleware2Call
  • IActionTrackingMiddleware2Hooks
  • IActionTrackingMiddlewareHooks
  • IAnyComplexType
  • IAnyModelType
  • IAnyType
  • IHooks
  • IJsonPatch
  • IMiddlewareEvent
  • IModelReflectionData
  • IModelReflectionPropertiesData
  • IModelType
  • IPatchRecorder
  • IReversibleJsonPatch
  • ISerializedActionCall
  • ISimpleType
  • ISnapshotProcessor
  • ISnapshotProcessors
  • IType
  • IValidationContextEntry
  • IValidationError
  • ReferenceOptionsGetSet
  • ReferenceOptionsOnInvalidated
  • UnionOptions
Edit

IActionContext

mobx-state-tree - v7.0.2 › IActionContext

Hierarchy

  • IActionContext

    ↳ IMiddlewareEvent

Index

Properties

  • args
  • context
  • id
  • name
  • parentActionEvent
  • tree

Properties

args

• args: any[]

Defined in src/core/actionContext.ts:20

Event arguments in an array (action arguments for actions)


context

• context: IAnyStateTreeNode

Defined in src/core/actionContext.ts:15

Event context (node where the action was invoked)


id

• id: number

Defined in src/core/actionContext.ts:9

Event unique id


name

• name: string

Defined in src/core/actionContext.ts:6

Event name (action name for actions)


parentActionEvent

• parentActionEvent: IMiddlewareEvent | undefined

Defined in src/core/actionContext.ts:12

Parent action event object


tree

• tree: IAnyStateTreeNode

Defined in src/core/actionContext.ts:17

Event tree (root node of the node where the action was invoked)

← FunctionWithFlagIActionRecorder →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • args
    • context
    • id
    • name
    • parentActionEvent
    • tree
MobX-state-tree
Docs
Getting StartedBasic conceptsAdvanced conceptsAPI Reference
Community
GitHub DiscussionsStack Overflow
More
BlogGitHubStar
Facebook Open Source
Copyright © 2025 Michel Weststrate