React hook to respond to media queries
npm i @hooks/media-query
useMediaQuery(query: string, fallback = false): boolean
A string representing the media query to parse.
The initial match state, defaults to false
.
Returns true
if the document currently matches the media query list, false
if not.