Software Alternatives & Reviews

KnockoutJS VS Underscore.js

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

KnockoutJS logo KnockoutJS

Knockout makes it easier to create rich, responsive UIs with JavaScript

Underscore.js logo Underscore.js

Underscore is a utility-belt library for JavaScript that provides a lot of the functional...
  • KnockoutJS Landing page
    Landing page //
    2018-09-30
  • Underscore.js Landing page
    Landing page //
    2018-12-17

KnockoutJS videos

KnockoutJS Review

Underscore.js videos

Introduction to Underscore.JS

Category Popularity

0-100% (relative to KnockoutJS and Underscore.js)
Javascript UI Libraries
13 13%
87% 87
Development Tools
0 0%
100% 100
JS Library
100 100%
0% 0
JavaScript Framework
26 26%
74% 74

User comments

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

Social recommendations and mentions

KnockoutJS might be a bit more popular than Underscore.js. We know about 21 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.

KnockoutJS mentions (21)

  • A First Look at HTMX and How it Compares to React
    The approach is not new, essentially a variation of Knockout, Alpine, and similar "JS-in-HTML" approaches. - Source: dev.to / 8 months ago
  • The Best UI Libraries for Cross-Platform Apps with Tauri
    SolidJS and Tauri form another potent combination for creating performant, lightweight, and secure experiences. SolidJS is a reactive UI library that is similar to Svelte in the way it compiles away reactivity and updates the DOM directly, but it also incorporates a fine-grained reactivity system reminiscent of libraries like Marko, Knockout, and MobX. - Source: dev.to / 9 months ago
  • Why are signals still not so popular?
    People act like Signals are a new discovery. KnockoutJS was using them 13 years ago and other libraries used them before that. Source: 10 months ago
  • What is KnockoutJS and how is it relevant in Magento 2?
    Knockout JS is a Javascript library which uses the MVVM pattern to bind data to certain DOM elements. Within Magento, we usually define a View-Model (which is a .js file) and a Template (which is a .html file), and the data in the template file is bound to the view-model, meaning whenever the data in the view-model changes, the template file changes too. Source: 11 months ago
  • Alpine.js
    I still use Knockout[0] for almost an identical experience. 0: https://knockoutjs.com/. - Source: Hacker News / over 1 year ago
View more

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

What are some alternatives?

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

AngularJS - AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

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

Vue.js - Reactive Components for Modern Web Interfaces

React Native - A framework for building native apps with React

Svelte - Cybernetically enhanced web apps

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