Repository navigation
What’s New
- Fixed Initial Issues: Resolved minor publishing issues from the first release (v1.0.0).
Features
- useOnDismount Hook: Easily run a callback when a component unmounts.
- DismountHandler Component: Wrap your content to handle dismount events, perfect for scenarios where hooks can’t be used directly (e.g., inside third-party components like a Popover).
- Lightweight: Minimal footprint with no unnecessary dependencies.
Installation
npm install dismount-utility-react