typescript-partial-lib-dom

For projects that may or may not run on a browser, like websites with SSR, sets all browser global variables like `window` or `document` as eventually undefined for better type-proofing

use-recapture

Like useCallback, but supports imperative recapturing and always returns stable reference