github aidenybai/react-scan v0.3.0

latest releases: v0.4.3, v0.4.2, v0.4.1...
5 months ago

Release v0.3.0

  • fixes a bug causing the "whats changed" view in the inspect tool to incorrectly report changes
    • we have temporarily removed the state change timeline feature to patch the what's changed view. We will add it back in a future release. The reasoning was it's better to have a working partial feature than a broken full feature released
  • adds the ability to see the parents of rendered components in the notification view
    • this helps resolve the problem of not knowing where components that show as slow in the notification view are in your component tree
image

in this image, notice how the DndContext render is expandable, allowing you to see who rendered that component

  • removes the view that showed all the props/state/context of a component
    • we found this was noisy and confusing for users when they were trying to interpret the "whats changed" view above it. We may add this back in a future release
image

this image shows the updated UI without the view that showed all the props/state/context of a component

  • adds showNotificationCount option, which allows you to disable the red notification count in the toolbar
  • notification counts shown in the toolbar are cleared after you view them
    • it was annoying to have the number keep increasing even if you already know about the slowdowns, so now it automatically resets after you view them
  • fixes an issue causing the toolbar to appear blurry
  • notifications no longer reports FPS slowdowns caused by the toolbar itself
    • this frequently happened when hovering the render bar chart, since drawing outlines over components can be an expensive operation when there are a lot of components
  • increases the threshold before we consider a slowdown important enough to report it as a FPS drop by 50%
    • the previous configuration resulted in too many false positives. In a future release we will allow this to be configured in the toolbar

What's Changed

Full Changelog: v0.2.14...v0.3.0

Don't miss a new react-scan release

NewReleases is sending notifications on new releases.