CanJS vs React: which is better?

Add a third product

Winner: CanJS

Wins 2 of 2 areas

CanJS wins more areas of this comparison, while React has the higher overall Comparexo score across all its specs.

Who should buy the CanJS?

  • Stronger general info
  • Stronger performance
  • Ie support: 7

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.

CanJSReact
  • 100 General info 96
  • 100 Performance 94
  • Ie support
    CanJS7 React8
    −1 vs React
  • Minified file size without dependencies
    CanJS69 KB React78 KB
    −9 KB vs React

Overview

Plugins
Performance
Data binding
General info
Libraries & Packages
Why is it better?
CanJS wins in 2 specs
  • Ie support
    7
    vs 8
  • Minified file size without dependencies
    69 KB
    vs 78 KB
React wins in 0 specs

No clear advantages in this comparison.

All specifications side by side
Comparexo score
6.9
Winner
7.3
Overall score
General info
Plugins
Libraries & Packages
Data binding
Performance
6.2 points
4.0 points
7.5 points
5.0 points
6.4 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
Published under MIT License
Yes
Unknown
Integrates with other MV* Frameworks
Unknown
Yes
Supports composed (partial) views
Yes
Yes
Has a stable public API
Yes
Unknown
Ie support
7
8
Has integrated input validation
Yes
Yes
Works well with more than just one template engine
Yes
Unknown
Published under Apache License
Unknown
Yes
More mature
Unknown
0 years

Plugins

Specifications

No differences in this section

Has a popular plugin to support animation
Unknown
Yes
Number plugins
7
Unknown
Has a dedicated plugin source
Yes
Unknown
Built-in RESTful sync abstraction for models
Yes
Unknown

Libraries & Packages

Specifications

No differences in this section

Is DOM manipulation library agnostic
Yes
Yes
Works with AMD libraries such as require.js
Yes
Yes
Officially supports Bower dependency management
Yes
Yes

Data binding

Specifications

No differences in this section

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
69 KB
78 KB
Supports routing and deep linking
Yes
Unknown
Uses Promises
Yes
Unknown
Templates can be pre-compiled on the server
Yes
Yes
Can be rendered on the server
Unknown
Yes
Number dependencies
1
Unknown
Updates the DOM asynchronously
Unknown
Yes
Integrates well with third party libraries to enable Promises/A+ support
Unknown
Yes

Winner: CanJS

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

Ie support −1

7 vs 8

Minified file size without dependencies −9 KB

69 KB vs 78 KB