Skip to content

1.2.3

Choose a tag to compare

@keiya01 keiya01 released this 27 Aug 11:14
· 69 commits to master since this release

react-performance-testing

  • fixed PerfTools type. We can access the value as bellow.

from

const { renderCount } = perf<{ Component: unknown }>(React);
console.log(renderCount.current.Component?.value); // nullable

to

const { renderCount } = perf<{ Component: unknown }>(React);
console.log(renderCount.current.Component.value); // non nullable