Closed michalkvasnicak closed 4 years ago
Basically we want to detect current breakpoint sooner than useEffect but we want to unregister listeners on unmount.
useEffect
Basically we want to detect current breakpoint sooner than
useEffect
but we want to unregister listeners on unmount.