@sjblurton/use-media-query (npm): useMediaQuery is will return a boolean true of false so you can implement any javascript you need based on the media queries you want.
Keywords: react|hooks|custom|typescript|test|testing