use-is-first-render
Detects if the component is rendered for the first time
Import
Source
Docs
Package
Usage
useIsFirstRender
returns true if the component is being rendered for the first time,
otherwise it returns false.
Is first render: Yes
Detects if the component is rendered for the first time
Import
Source
Docs
Package
useIsFirstRender
returns true if the component is being rendered for the first time,
otherwise it returns false.
Is first render: Yes