1 | # useMediaQuery
|
2 |
|
3 | The `useMediaQuery` hook is used to match the current viewport against a media query. Use the `matchMedia` API to subscribe to media query changes and return the current match state.
|
4 |
|
5 | Please refer to the [documentation](https://raddix.dev/hooks/use-media-query) for more information.
|