Mobx React Lite Versions Save

Lightweight React bindings for MobX based on React 16.8 and Hooks

v3.1.0

3 years ago

Minor Changes

  • a0e5fea #329 Thanks @RoystonS! - expose clearTimers function to tidy up background timers, allowing test frameworks such as Jest to exit immediately

Patch Changes

  • fafb136 #332 Thanks @Bnaya! - Introduce alternative way for managing cleanup of reactions. This is internal change and shouldn't affect functionality of the library.

v3.0.1

3 years ago

Patch Changes

  • 570e8d5 #328 Thanks @mweststrate! - If observable data changed between mount and useEffect, the render reaction would incorrectly be disposed causing incorrect suspension of upstream computed values

  • 1d6f0a8 #326 Thanks @FredyC! - No important changes, just checking new setup for releases.

Prior 3.0.0 see GitHub releases for changelog

3.0.0

3 years ago

Deprecation of most of the API (see README) and minor changes for MobX 6 compatibility.

No breaking changes should be present despite the major version.

2.2.1

3 years ago

fix: reintroduce isObserverBatched for backwards compatibility (#309) (#313) [@alex3683]

2.1.0

3 years ago

Fixed #274 through #299

2.2.0

3 years ago
  • Make sure the callback in <Observer> can return null. Fixes #305 through #307 by inomdzhon
  • It is no longer needed to explicitly configure batching for react-dom or react-native. Fixes #296 and mobx-react#859 through #303

2.0.7

4 years ago

2.0.6

4 years ago

observer() return type should be whatever the wrapped component is (#275)

v2.0.5

4 years ago

Observer batching imports are kept in production builds as side effects (#273)

v2.0.4

4 years ago

Fix losing props for observer component (#272)