A solid way to watch for breakpoints in your JS React Hooks applications when absolutely necessary.
Sometimes we can't do everything for our layout with CSS and we need to make changes directly in our code when the screen is a certain size or maybe when a user resizes our application. This repo contains the keyzzz to solve this pretty nicely. It also contains React Hooks usage.
Technologies of focus:
- Window.matchMedia()
- MediaQueryList
- React Hooks