code: function matchMedia (query, el) {
    const node = findDOMNode(el) || document
    return canUseDOM && ownerWindow(node).matchMedia(query)
  }
docs: ---
  category: utilities/DOM
  ---
  
  Wrapper function for window.matchMedia
  
  see https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia
  
  @param {string} query - media query string
  @param {ReactComponent|DomNode} el - component or DOM node
  @returns {Object} a media query list object