mobxjs / mobx-state-tree

Full-featured reactive state management without the boilerplate
https://mobx-state-tree.js.org/
MIT License
6.9k stars 639 forks source link

fix: revert parent context features #2074

Closed coolsoftwaretyler closed 10 months ago

coolsoftwaretyler commented 10 months ago

What does this PR do and why?

This PR reverts https://github.com/mobxjs/mobx-state-tree/pull/2050 and https://github.com/mobxjs/mobx-state-tree/pull/2065, as per this comment from the original author of the PRs, @BrianHung.

Steps to validate locally

This should be an exact revert of those changes, tests should pass, and we'll be sending this out in a release candidate for 5.2.0 as well.