mobxjs / mobx

Simple, scalable state management.
http://mobx.js.org
MIT License
27.55k stars 1.78k forks source link

Road to 4.0 #1076

Closed mweststrate closed 6 years ago

mweststrate commented 7 years ago

Hi all!

Time to start thinking about the next major of MobX. These are some of the ideas I have around them. Global goal:

Leverage modern features in evergreen browsers to address current quirks in the MobX api

Quirks being:

  1. Observable arrays not being arrays,
  2. property additions not being observed
  3. Maps only supporting primitive keys and Sets not being present #800

Tools to address the quirks: levering proxies #776 and native map implementations #800

Breaking changes

Also fix #940 if not done before

Tasks:

urugator commented 6 years ago

I see, I thought it's @computed(options), you have a mistake in migration guide I believe, check the new API for @computed.equals(compareFn) :)

mweststrate commented 6 years ago

Released:

mobx@4.0.0-beta.2 mobx-utils@4.0.0-beta.2 mobx-react@5.0.0-beta.2

Which together fix some build & typescript issues :)

mweststrate commented 6 years ago

released mobx@4.0.0-beta.3 (fixing #1376)

mweststrate commented 6 years ago

Released 4.0.0!

marvinhagemeister commented 6 years ago

@mwestrate awesome! Congrats for the ride! Really happy with Mobx :)