mobx: Breaking change in 5.15.5?

Intended outcome:

Upgrade from 5.15.4 to 5.15.5, app still runs.

Actual outcome:

App runs with 5.15.4, but crashes on startup with 5.15.5. Seems many things that were previously working are now undefined.

Maybe side effect of https://github.com/mobxjs/mobx/issues/2386?

How to reproduce the issue:

If necessary I can try to put this together later. But given the extent of the breakage I assume it’s not just me at the moment.

Versions

"mobx": "5.15.5",
"mobx-react-lite": "^2.0.7",
"mobx-state-tree": "^3.17.2",
"typescript": "^3.9.7"

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 6
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Fix has been released as 5.15.6 / 4.15.6. Thanks @urugator!

I assume this is the same issue, for us array.find() breaks in MST.

Like after const result = self.items.find((item) => item.id === dataItem.id); we can no longer call result.someAction(). Worked fine in older versions.