DOMuseKeyPressTrack whether a specific key is currently held down.APIuseKeyPress.d.tstsuseKeyPress(targetKey: string): booleanView source on GitHubRelated hooksuseEventListenerSubscribe to a window, document or element event with cleanup.useClickOutsideRuns a callback on outside click.useMousePositionCursor coordinates within an element.useEffectOnceuseWindowScroll