@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.2
Weekly downloads
—
Unpacked size
40.4 kB
Dependencies
0
Last publish
29 days ago
Security advisories
No known vulnerabilities affect v0.2.2.