Byteclaw/visage

Detect breakpoint using matchMedia on initial render and not in effect

Closed this issue · 0 comments

Basically we want to detect current breakpoint sooner than useEffect but we want to unregister listeners on unmount.