Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

+ debounce responsive hooks #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jakob-p
Copy link

@jakob-p jakob-p commented Mar 15, 2022

This adds a debounce of 200ms to this hook to prevent too many re-renders during resizing the browser or rotating a device. This solves #25

D and others added 3 commits November 22, 2021 14:57
EventEmitter.removeListener('didUpdateDimensions', ...): Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener fix.Update index.ts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants