Software Alternatives, Accelerators & Startups

Underscore.js VS MobX

Compare Underscore.js VS MobX and see what are their differences

Underscore.js logo Underscore.js

Underscore is a utility-belt library for JavaScript that provides a lot of the functional...

MobX logo MobX

Simple, scalable state management
  • Underscore.js Landing page
    Landing page //
    2018-12-17
  • MobX Landing page
    Landing page //
    2024-04-24

Underscore.js videos

Introduction to Underscore.JS

MobX videos

MobX vs Redux (A MobX Redux comparison)

More videos:

  • Tutorial - MobX tutorial #1 - MobX + React is AWESOME
  • Review - Introduction to MobX & React in 2020
  • Tutorial - MobX in React Tutorial - Scalable State Management
  • Review - Battlefield Developer Tells The Secrets of MobX Nested Stores

Category Popularity

0-100% (relative to Underscore.js and MobX)
Javascript UI Libraries
76 76%
24% 24
Development Tools
100 100%
0% 0
Front-End Frameworks
0 0%
100% 100
Libraries And Widgets
100 100%
0% 0

User comments

Share your experience with using Underscore.js and MobX. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

MobX might be a bit more popular than Underscore.js. We know about 20 links to it since March 2021 and only 19 links to Underscore.js. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Underscore.js mentions (19)

  • 8 NPM Packages for JavaScript Beginners [2024][+tutorials]
    Not too far behind is Underscore.js, another utility library that's all about enhancing your JavaScript mojo. Whether you're dealing with arrays, objects, or strings, Underscore has got something for you. It's like Lodash's sibling, offering similar functionalities but with its own flair. The choice between them is like picking between chocolate and vanilla - it really comes down to personal taste. - Source: dev.to / about 1 month ago
  • Discovered a 63kb tiddlywiki like self saving HTML+JS wiki and its looking cool
    I once made a very crude and simple TiddlyWiki work-alike I called "HulloWurld" https://github.com/calroc/HulloWurld It's 143 KB, but it includes copies of Knockout, Underscore, Zepto, and the "Marked" markdown parser... ¯\_(ツ)_/¯ ( Good stuff BTW: http://knockoutjs.com/ http://underscorejs.org/ https://zeptojs.com/ https://github.com/chjj/marked ) Probably the only interesting bit is the code to save the page:... - Source: Hacker News / almost 2 years ago
  • Underscore.js: create a map out of list of objects using a key found in the object
    I am using the excellent Underscore.js library. I have a specific task which I can do fine using JavaScript or jQuery but was wondering if there was some sort of abstraction avaialable in Underscore that I was missing out on. Source: about 2 years ago
  • Asking Functional vs Class components again.
    There are many functional libraries for js like underscore, ramda, or even ts specific ones like fp-ts. Source: about 2 years ago
  • How to detect scroll direction in vanilla JavaScript (to make a goofy logo animation)
    /* Source: https://underscorejs.org/underscore-esm.js During a given window of time. Normally, the throttled function will run As much as it can, without ever going more than once per `wait` duration; But if you'd like to disable the execution on the leading edge, pass `{leading: false}`. To disable execution on the trailing edge, ditto. */ Function throttle(func, wait, options) { var timeout, context, args,... - Source: dev.to / about 2 years ago
View more

MobX mentions (20)

  • Getting started with TiniJS framework
    States can also be organized in some central places (aka. stores). You can use Tini Store (very simple, ~50 lines) or other state management solutions such as MobX, TinyX, ... - Source: dev.to / 27 days ago
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid,... - Source: dev.to / about 1 month ago
  • React State Management in 2024
    Mutable-based: leverages proxy to create mutable data sources which can be directly written to or reactively read from. Candidates in this group are MobX and Valtio. - Source: dev.to / 5 months ago
  • Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
    Looks good! FWIW I always felt the observable pattern much more intuitive than the redux/reducer style. Something like https://mobx.js.org/ Things get hairy in both, but redux pattern feels so ridiculously ceremonially to effectively manage a huge global state object with a false sense of "purity". Observables otoh say "fuck it, I'm mutating everything, do what you want with it". - Source: Hacker News / 6 months ago
  • React Redux
    It's important to note that Redux is just one of many options for global state management in a React application. Other popular options include MobX and the React context API.context API](https://reactjs.org/docs/context.html). - Source: dev.to / over 1 year ago
View more

What are some alternatives?

When comparing Underscore.js and MobX, you can also consider the following products

jQuery - The Write Less, Do More, JavaScript Library.

vuex - Centralized State Management for Vue.js

React Native - A framework for building native apps with React

Redux.js - Predictable state container for JavaScript apps

Babel - Babel is a compiler for writing next generation JavaScript.

react-context - Context provides a way to pass data through the component tree without having to pass props down manually at every level.