NOMATCHMEDIA
window.matchMedia is not supported, media queries will not work.
gymnast relies on window.matchMedia
API to be able to set layout breakpoints (responsive layout) efficiently.
This error may occur when running gymnast on an environment where either window
or window.matchMedia
are not available.
window
may not be available if running on a non web environment (e.g. Node
) and window.matchMedia
is not available on old browsers.
This is mostly a concern for SSR since All gymnast supported browsers support matchMedia.
Updated less than a minute ago