Use Warn If Unsaved Changes
now-ts-ui/use-warn-if-unsaved-changesUnverifiedHook
A React hook that warns users before leaving the page when there are unsaved changes.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/Melvynx/ui.nowts.app/main/use-warn-if-unsaved-changes.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
Files it writes
More from Now.ts UI
All 14 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Use Copy to Clipboarduse-copy-to-clipboard | Now.ts UI | Hooks | Unverified | no deps | |
| Use Debounce Functionuse-debounce-fn | Now.ts UI | Hooks | Unverified | no deps | |
| useIsClientuse-is-client | Now.ts UI | Hooks | Unverified | no deps |
