Need advice about which tool to choose?Ask the StackShare community!

Flux

518
504
+ 1
130
MobX

817
504
+ 1
114
Add tool

Flux vs MobX: What are the differences?

Flux: Application Architecture for Building User Interfaces. Flux is the application architecture that Facebook uses for building client-side web applications. It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code; MobX: Simple, scalable state management. 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.

Flux can be classified as a tool in the "Javascript UI Libraries" category, while MobX is grouped under "State Management Library".

"Unidirectional data flow" is the primary reason why developers consider Flux over the competitors, whereas "It's just stupidly simple, yet so magical" was stated as the key factor in picking MobX.

Flux and MobX are both open source tools. It seems that MobX with 19.8K GitHub stars and 1.21K forks on GitHub has more adoption than Flux with 16.2K GitHub stars and 3.62K GitHub forks.

According to the StackShare community, Flux has a broader approval, being mentioned in 67 company stacks & 29 developers stacks; compared to MobX, which is listed in 52 company stacks and 32 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Flux
Pros of MobX
  • 44
    Unidirectional data flow
  • 32
    Architecture
  • 19
    Structure and Data Flow
  • 14
    Not MVC
  • 12
    Open source
  • 6
    Created by facebook
  • 3
    A gestalt shift
  • 26
    It's just stupidly simple, yet so magical
  • 18
    Easier and cleaner than Redux
  • 15
    Fast
  • 13
    Automagic updates
  • 13
    React integration
  • 10
    Computed properties
  • 8
    ES6 observers and obversables
  • 7
    Global stores
  • 3
    Flexible architecture the requeriment
  • 1
    Has own router package (mobx-router)

Sign up to add or upvote prosMake informed product decisions

Cons of Flux
Cons of MobX
    Be the first to leave a con
    • 1
      Maturity

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Flux?

    Flux is the application architecture that Facebook uses for building client-side web applications. It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Flux?
    What companies use MobX?
    See which teams inside your own company are using Flux or MobX.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Flux?
    What tools integrate with MobX?
    What are some alternatives to Flux and MobX?
    Flow
    Flow is an online collaboration platform that makes it easy for people to create, organize, discuss, and accomplish tasks with anyone, anytime, anywhere. By merging a sleek, intuitive interface with powerful functionality, we're out to revolutionize the way the world's productive teams get things done.
    Mono
    It is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation. It is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.
    jQuery
    jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    AngularJS
    AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
    See all alternatives