项目作者: lnolazco

项目描述 :
Test in react 16: Stateless, Statefull and PureComponents
高级语言: JavaScript
项目地址: git://github.com/lnolazco/react-performance.git
创建时间: 2017-09-29T13:08:39Z
项目社区:https://github.com/lnolazco/react-performance

开源协议:

下载


REACT 16 PERFORMANCE

This is based on my repo: https://github.com/lnolazco/react-boilerplate.

I used React-easy-chart to display the results.
https://rma-consulting.github.io/react-easy-chart/

Tests:

  • Stateless components
  • Stateful components
  • Pure components
  • Pure component calling a function defined inside the render method
  • Pure component calling a function defined out of the render method

Requirements

Node.js v8

How to install

  • Run npm install

Starting the test performance

Todo

  • Add more performance tests.
  • Add input to set the number of tests to run.