You can provide your own implementation of matchMedia, it's used when rendering server-side.
matchMedia