Here's a modal close-on-Escape that quietly does the wrong thing: function Modal({ onClose }: { onClose: () => void }) { useEffect(() => { const onKey = (e: KeyboardEvent) => { if (e.key =
Collection of 110+ essential React Hooks. Tree-shakable, SSR-safe, TypeScript-first.
Maintainer of @reactuses/core — 110+ essential React Hooks: SSR-safe, TypeScript-first, tree-shakeable. Docs & interactive demos: https://reactuse.com · MIT-licensed and maintained in spare time — sponsorships keep it going: https://github.com/sponsors/childrentime
Markdown supported · ⌘↵ to post
No responses yet.