Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

mobx-react 6.2.1 introduced a breaking change with batched updates. #859

@melnikov-s

Description

@melnikov-s

Intended outcome

This change to be released as 7.x

Actual outcome

Released as a minor version

How to reproduce the issue

https://codesandbox.io/s/minimal-mobx-react-project-nxctz?file=/index.js

our app broke when we upgraded to mobx-react 6.2.2 from 6.1.8 . This was due to a breaking change in how batched renders are handled. PR here: #787 . This is was then fixed with import 'mobx-react/batchingForReactDom' but we were not expecting a breaking change with a minor version bump (it's also a tricky issue to diagnose).

I noticed a detailed write up of what can happen without batching here: #787 (comment) so perhaps this was released by mistake?

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