@idevconn/use-draft
Apache-2.0Global unsaved-changes blocker for TanStack Router SPAs. Aggregates dirty state from every mounted form via a Zustand store and blocks both in-app navigation (router dialog) and browser refresh/close (native dialog).
100
Security score
0 known advisories in v0.2.3
Weekly downloads
319
Unpacked size
40.4 kB
Dependencies
0
Last publish
12 days ago
Security advisories
No known vulnerabilities affect v0.2.3.
Downloads — last 30 days
1.2K total▲ 16.4% vs prior week
Aug 21Sep 19