My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
mobx-utils: community driven utility belt for MobX — Medium

mobx-utils: community driven utility belt for MobX — Medium

Andrew Wooldridge's photo
Andrew Wooldridge
·Aug 18, 2016

MobX is a state management library that is quite unopinionated on how you write your application. It doesn’t dictate how to handle asynchronous requests, how to structure stores or how to serialize data. It aims to be as inter-operable with existing libraries and application architectures as possible.

Nonetheless, there are recurring question themes in our gitter channel. For example, data serialization (for which the serialzr package was released last week), integration with database connectors and handling dirty states. Without further ado; allow me to introduce the “mobx-utils” package! “mobx-utils” provides a home for generic strategies built on MobX that integrate well with any MobX driven application. The library is not just a source of utilities, consider the source code also as a source of inspiration for your own abstractions. All current utilities are based on code or ideas of MobX community members.

The first version has been released with the following six utilities. Make sure to check the docs for some additional examples!