HOC vs extend performance in React
Build and run with npm run dev
, then head to localhost:8080
, click many times to collect the stats, and inspect the results (spoiler: extend
wins).
Made in 2018 by Vladimir Klepov.
Benchmarking react subclass vs HOC
Build and run with npm run dev
, then head to localhost:8080
, click many times to collect the stats, and inspect the results (spoiler: extend
wins).
Made in 2018 by Vladimir Klepov.
Benchmarking react subclass vs HOC