Skip to content

Mobx Array when using Replace  #859

@kamarajuPrathi

Description

@kamarajuPrathi

I get this error when i have a very large array and when i used replace function to update it

Uncaught Error: [mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?
at e.updateArrayLength (bundle.js:11)
at e.spliceWithArray (bundle.js:11)
at t.replace (bundle.js:11)
at e.value (bundle.js:40)
at F (bundle.js:11)
at e.n (bundle.js:11)
at bundle.js:40

Any help is appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions