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

ReferenceOptionsGetSet

mobx-state-tree - v7.0.2 › ReferenceOptionsGetSet

Type parameters

▪ IT: IAnyComplexType

Hierarchy

  • ReferenceOptionsGetSet

Index

Methods

  • get
  • set

Methods

get

▸ get(identifier: ReferenceIdentifier, parent: IAnyStateTreeNode | null): ReferenceT‹IT›

Defined in src/types/utility-types/reference.ts:472

Parameters:

NameType
identifierReferenceIdentifier
parentIAnyStateTreeNode | null

Returns: ReferenceT‹IT›


set

▸ set(value: ReferenceT‹IT›, parent: IAnyStateTreeNode | null): ReferenceIdentifier

Defined in src/types/utility-types/reference.ts:473

Parameters:

NameType
valueReferenceT‹IT›
parentIAnyStateTreeNode | null

Returns: ReferenceIdentifier

← IValidationErrorReferenceOptionsOnInvalidated →
  • Type parameters
  • Hierarchy
  • Index
    • Methods
  • Methods
    • get
    • set
MobX-state-tree
Docs
Getting StartedBasic conceptsAdvanced conceptsAPI Reference
Community
GitHub DiscussionsStack Overflow
More
BlogGitHubStar
Facebook Open Source
Copyright © 2025 Michel Weststrate