useRenderInfo*

React state hook that provides information about the current render.

hooks
Description of the SVG image Loading...

About

The useRenderInfo hook is useful for tracking and logging rendering information in a component. It keeps track of the number of renders, the time elapsed since the last render, and the timestamp of the current render. This hook is particularly helpful during development as it provides insights into the rendering behavior of a component, allowing developers to optimize performance and identify potential issues.

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-render-info
# └──> Hook coming soon.

Usage