Skip to content

Typescript improvements and package size reduction

Compare
Choose a tag to compare
@jonbnewman jonbnewman released this 29 Nov 12:57
· 102 commits to master since this release

The primary purpose of this release is two fold:

  1. Automatic model type inference (and overall better/more strict typescript definitions).
  2. Simplified API (removed mapState callback support).

Note that this release introduces significant breaking API changes (hence the 2.0 release).

A more in depth explanation of the typescript changes (the primary driver of these API changes) can be found on the mobx-store-provider typescript documentation.