Knockout JS vs React: which is better?

Add a third product

Winner: React

Wins 0 of 2 areas

Knockout JS scores more points on the specs both products share, while React has the clearly higher overall Comparexo score across all its specs.

Who should buy the Knockout JS?

  • Stronger general info
  • Stronger performance
  • Minified file size without dependencies: 43 KB

Who should buy the React?

No clear advantages in this comparison.

Who leads by area

Area score out of 100: how close each product is to the best value in every spec, weighted by how much buyers care.

Knockout JSReact
  • 100 General info 75
  • 100 Performance 78
  • Minified file size without dependencies
    Knockout JS43 KB React78 KB
    −35 KB vs React
  • Ie support
    Knockout JS6 React8
    −2 vs React

Overview

Performance
Data binding
General info
Libraries & Packages
Why is it better?
Knockout JS wins in 2 specs
  • Minified file size without dependencies
    43 KB
    vs 78 KB
  • Ie support
    6
    vs 8
React wins in 0 specs

No clear advantages in this comparison.

All specifications side by side
Comparexo score
4.2
Overall score
7.3
Winner
General info
Plugins
Libraries & Packages
Data binding
Performance
6.3 points
2.3 points
2.5 points
7.5 points
4.3 points
4.4 points
2.0 points
7.5 points
10.0 points
7.9 points

General info

Specifications

No differences in this section

Uses a templating engine
Yes
Unknown
Supports computed properties
Yes
Unknown
Uses JSX for templating
Unknown
Yes
Extends HTML
Yes
Unknown
Published under MIT License
Yes
Unknown
Integrates with other MV* Frameworks
Unknown
Yes
Supports composed (partial) views
Unknown
Yes
Has a stable public API
Yes
Unknown
Ie support
6
8
Has integrated input validation
Unknown
Yes
Works well with more than just one template engine
Yes
Unknown
Published under Apache License
Unknown
Yes
More mature
Unknown
0 years
Has dedicated debugging tools
Yes
Unknown

Plugins

Specifications

No differences in this section

Has a popular plugin to support animation
Unknown
Yes
Number plugins
33
Unknown
Has a popular plugin which supports input validation
Yes
Unknown

Libraries & Packages

Specifications

No differences in this section

Is DOM manipulation library agnostic
Unknown
Yes
Works with AMD libraries such as require.js
Unknown
Yes
Officially supports Bower dependency management
Unknown
Yes
Has an official, up-to-date entry in the npm package manager
Yes
Unknown

Data binding

Specifications

No differences in this section

Has two-way databinding
Yes
Unknown
Supports one-way data binding
Yes
Yes
Models are plain JavaScript objects
Unknown
Yes
Allows the use of view mixins
Unknown
Yes
Can be extended by a popular plugin to have two-way databinding
Unknown
Yes
Uses observables for data binding
Yes
Unknown

Performance

Specifications

No differences in this section

Minified file size without dependencies
43 KB
78 KB
Templates can be pre-compiled on the server
Yes
Yes
Can be rendered on the server
Unknown
Yes
Number dependencies
0
Unknown
Updates the DOM asynchronously
Unknown
Yes
Integrates well with third party libraries to enable Promises/A+ support
Unknown
Yes

Winner: React

React is better in 0 of 2 areas: it leads on the specs buyers care about most, and by a wider margin.