Home / Companies / LogRocket / Blog / Post Details
Content Deep Dive

What’s new in MobX 6.0

Blog post from LogRocket

Post Details
Company
Date Published
Author
Leonardo Maldonado
Word Count
1,397
Language
-
Hacker News Points
-
Summary

MobX, a popular state-management library for React, is appreciated for its simplicity, robustness, and minimal boilerplate, which facilitates easier development. The newly released MobX 6.0 introduces enhancements aimed at making the library more user-friendly and scalable, such as the removal of mandatory decorators, which improves compatibility with modern JavaScript and reduces bundle size. The new version also introduces the `makeObservable` and `makeAutoObservable` utility functions, simplifying the process of making properties observable without needing multiple annotations. The use of proxies, previously a requirement that posed compatibility issues with some JavaScript engines, can now be disabled, offering greater flexibility in environments like Internet Explorer and React Native. MobX continues to evolve while adhering to its core philosophy that any derivable application state should be derived automatically, maintaining its appeal among developers.