Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Cannot add property loading, object is not extensible #942

@upupming

Description

@upupming

Describe the bug

After updating the rematch version to 2.1.1, my working repo is broken with an error Cannot add property loading, object is not extensible, after some debug, I cannot find the root cause of this bug, so could you please confirm if this is a bug? Thanks!

Reproduce Link

To Reproduce

See the runtime error in the codesandbox:

image

Expected behavior

Screenshots

Desktop

  • OS: macOS
  • Browser: Chrome Latest
  • Version: 2.1.1

Additional context

I find that I can reproduce this error on the example rematch-example-all-plugins-react-ts too, simply change these lines:

immerPlugin({
whitelist: ['settings'],
}),

to:

immerPlugin(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions