mobx-keystone
    Preparing search index...

    Interface ArrayUpdateChange

    An update change in an array (single element replaced).

    interface ArrayUpdateChange {
        index: number;
        isInit: boolean;
        newValue: unknown;
        oldValue: unknown;
        path: Path;
        target: unknown[];
        type: ArrayUpdate;
    }

    Hierarchy (View Summary)

    Index

    Properties

    index: number
    isInit: boolean

    Whether this change occurred during initialization (e.g., setting default values, onInit modifications). This is true when the change is part of snapshot initialization, false for runtime changes.

    newValue: unknown
    oldValue: unknown
    path: Path
    target: unknown[]