StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
MobX
ByMobXMobX

MobX

#63in Frameworks
Stacks750Discussions9
Followers516
OverviewDiscussions9

What is MobX?

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.

MobX is a tool in the Frameworks category of a tech stack.

MobX Pros & Cons

Pros of MobX

  • ✓It's just stupidly simple, yet so magical
  • ✓Easier and cleaner than Redux
  • ✓Fast
  • ✓Automagic updates
  • ✓React integration
  • ✓Computed properties
  • ✓ES6 observers and obversables
  • ✓Global stores
  • ✓Flexible architecture the requeriment
  • ✓Has own router package (mobx-router)

Cons of MobX

  • ✗Maturity

MobX Alternatives & Comparisons

What are some alternatives to MobX?

Redux

Redux

It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. t provides a great experience, such as live code editing combined with a time traveling debugger.

vuex

vuex

Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official devtools extension to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.

redux-thunk

redux-thunk

Redux Thunk middleware allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods dispatch and getState as parameters.

redux-saga

redux-saga

An alternative side effect model for Redux apps

Zustand

Zustand

Small, fast and scaleable bearbones state-management solution. Has a comfy api based on hooks, that isn't boilerplatey or opinionated, but still just enough to be explicit and flux-like.

reselect

reselect

Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.

MobX Integrations

React, React Native Seed are some of the popular tools that integrate with MobX. Here's a list of all 2 tools that integrate with MobX.

React
React
React Native Seed
React Native Seed

MobX Discussions

Discover why developers choose MobX. Read real-world technical decisions and stack choices from the StackShare community.Showing 4 of 5 discussions.

Johnny Bell
Johnny Bell

Software Engineer at StackShare

Mar 12, 2019

Needs adviceonjQueryjQueryReactReactES6ES6

We are always building new features and replacing old code at StackShare. Lately we have been building out new features for the frontend, and removing a lot of old jQuery code (sorry jQuery but it's time to go).

We've mainly been using React, ES6 and JavaScript on the frontend to build out the components, and we've been slowly removing some legacy MobX and using GraphQL and Apollo for our state management, if we need to control state further than GraphQL and Apollo allows us to we use just plain React with #context , or the new fancy React #hooks🎣 .

As we've moved towards the above tech, its really made smashing out new features and updating legacy code super fast, and really fun!

0 views0
Comments
Russel Werner
Russel Werner

Lead Engineer at StackShare

Mar 11, 2019

Needs adviceonMobXMobXGraphQLGraphQLApolloApollo

Some of our existing pages use MobX however we decided to stop using MobX for new work for a few good reasons:

  1. It forced us to use an experimental language feature (decorators)
  2. We went all-in on @{GraphQL}|tool:3820| and @{Apollo}|tool:5508| to manage our data and local state.

For all the places where we don't store state in Apollo Client, we use plain old React and hooks (useState and useContext). Our first choice in state management it to have all state stored in Apollo keeping local state accurate by using mutation updates, client resolvers, and local cache.

0 views0
Comments
Gianluca Bargelli
Gianluca Bargelli

Dec 6, 2018

Needs adviceonReactReactAngularJSAngularJSReduxRedux

We started rebuilding our dashboard components using React from AngularJS over 3 years ago and, in order to have predictable client-side state management we introduced Redux inside our stack because of the popularity it gained inside the JavaScript community; that said, the number of lines of codes needed to implement even the simplest form was unnecessarily high, from a simple form to a more complex component like our team management page.

By switching our state management to MobX we removed approximately 40% of our boilerplate code and simplified our front-end development flow, which in the ends allowed us to focus more into product features rather than architectural choices.

0 views0
Comments
Dan Robinson
Dan Robinson

Sep 13, 2018

Needs adviceonjQueryjQueryBackbone.jsBackbone.jsMarionetteMarionette

The front end for Heap begun to grow unwieldy. The original jQuery pieces became difficult to maintain and scale, and a decision was made to introduce Backbone.js, Marionette, and TypeScript. Ultimately this ended up being a “detour” in the search for a scalable and maintainable front-end solution. The system did allow for developers to reuse components efficiently, but adding features was a difficult process, and it eventually became a bottleneck in advancing the product.

Today, the Heap product consists primarily of a customer-facing dashboard powered by React, MobX, and TypeScript on the front end. We wrote our migration to React and MobX in detail last year here.

#JavascriptUiLibraries #Libraries #JavascriptMvcFrameworks #TemplatingLanguagesExtensions

0 views0
Comments
View all 5 discussions

Try It

Visit Website

Adoption

On StackShare

Companies
160
UHSSWS+154
Developers
507
LGLJRR+501