functional-components-benchmark icon indicating copy to clipboard operation
functional-components-benchmark copied to clipboard

Directly calling functional components instead of mounting them is faster.

Benchmark gif

Run

  • Build once: npm run webpack
  • Run dev server: npm start
    • Web page: http://localhost:8080/
    • Open the console
    • Run window.benchmark()

Built using https://github.com/rauschma/react-starter-project