// @flow
/**
 * When using streaming rendering, style blocks are emitted in chunks directly
 * next to the HTML they reference. In order to prevent errors during rehydration
 * (since React doesn't know about the style blocks we are interleaving) this
 * method relocates all styled-component blocks to the end of `<head>`.
 *
 * NOTE: this method MUST be called before ReactDOM.hydrate().
 */
export default function consolidateStreamedStyles() {
  const blocks = Array.from(
    document.querySelectorAll('style[data-styled-components]')
  )

  if (blocks.length) {
    const frag = document.createDocumentFragment()

    for (let i = 0, len = blocks.length; i < len; i += 1) {
      // $FlowFixMe
      frag.appendChild(blocks[i].parentNode.removeChild(blocks[i]))
    }

    // $FlowFixMe
    document.head.appendChild(frag)
  }
}

@@ -88,748 +88,335 @@
 ctly
+.
 %0A * 
-next to the HTML they reference. In order to prevent errors during rehydration%0A * (since React doesn't know about the style blocks we are interleaving) this%0A * method relocates all styled-component blocks to the end of %60%3C
+This method used to be necessary to move all style elements before the%0A * rehydration kicks in. However the rehydration now takes all SSR style tags,%0A * combines them into a single tag, and adds it to the 
 head
-%3E%60
 .%0A *
-%0A * NOTE: this method MUST be called before ReactDOM.hydrate().%0A */%0Aexport default function consolidateStreamedStyles() %7B%0A  const blocks = Array.from(%0A    document.querySelectorAll('style%5Bdata-styled-components%5D')%0A  )%0A%0A  if (blocks.length) %7B%0A    const frag = document.createDocumentFragment()%0A%0A    for (let i = 0, len = blocks.length; i %3C len; i += 1) %7B%0A      // $FlowFixMe%0A      frag.appendChild(blocks%5Bi%5D.parentNode.removeChild(blocks%5Bi%5D))%0A    %7D%0A%0A    // $FlowFixMe%0A    document.head.appendChild(frag)%0A  %7D
+ This renders the consolidation useless%0A */%0Aexport default function consolidateStreamedStyles() %7B%0A  /* noop */
 %0A%7D%0A

Replace consolidateStreamedStyles with noop