Last updated 6 months ago
Was this helpful?
• Docs
/ useMounted
useMounted(): boolean
boolean
A custom React hook to determine if a component has been mounted.
A boolean flag indicating whether the component is currently mounted.