It seems the value of useMediaQuery isn't updating on window resize (but sometimes it does?)
Ran into this when reviewing openedx/frontend-app-admin-console#25
We just pass useMediaQuery through from react-responsive, and I didn't find any issues reported over there that match what I was experiencing.
Definitely something worth digging into a bit so we don't need to land PRs with workarounds.