MobX v5.9.0 Release Notes
-
๐ Features
- ๐ Introduced support for observable sets! Through #1592 by @newraina
- ๐
observable.box
now accepts anequals
option, to be able to pass a custom comparision function. Through #1862, #1874 by @fi3ework. Fixes #1580 - โ Improved logging of reactions; if an action throws an exception, errors in reactions that react to that are only logged as warnings. Fixes #1836
๐ Fixes
- ๐ Improved typings for
flow
, see #1827 by @xaviergonz - ๐ Don't allow subclassing map, fixes #1858
- ๐ Fixed
trace(true)
not being able to handle multi-line comments in traced function. Fixes #1850 - ๐ง
@computed
now introduces non-configurable properties, to fail fast on incorrect inheritance or property deletion. Fixes #1867 - ๐ The options
enforceActions
andisolateGlobalState
now work correctly when used together. Fixes #1869