See also mobxjs/mobx-react#640
propTypes into separate packageProvider / inject into separate pageThis release is not scheduled yet
Explanation: The reason why this is not done in mobx-react 6 is that it would create a snowball effect migration: "I want to upgrade to react 16.8 to use hooks" -> I need to upgrade to mobx-react 6" -> "Oh, now I need to refactor propTypes and provider / inject" .
So to keep the upgrade path friendly, let's separate these goals:
Are you sure that changing import is such a huge burden? As long as the API stays the same, it's pretty much fixable by _find and replace_ or a simple codemod.
Either way, I think that V6 should include deprecated messages and make those new packages now so people can actually start migrating and not to wait for V7 dropping a bomb :)
Most helpful comment
Are you sure that changing import is such a huge burden? As long as the API stays the same, it's pretty much fixable by _find and replace_ or a simple codemod.
Either way, I think that V6 should include deprecated messages and make those new packages now so people can actually start migrating and not to wait for V7 dropping a bomb :)