Skip to content

React Utils - v1.0.4

Choose a tag to compare

@ItsJonQ ItsJonQ released this 22 Nov 17:33
· 24 commits to master since this release

Make renderSpy (much) better, and add perf as an alias

screen recording 2018-11-21 at 09 17 pm

GIF: Demo shows a Storybook example where I render the component a bunch of times. The same component as added twice. One that is updated from a prop change, and one that isn't (aka. "wasted" render).

This update improves renderSpy dramatically, adding in performance timing
features and wasted render capturing.

This experience is similar to Redux logger and React's deprecated performance
tools.