import React from 'react' import htmlescape from 'htmlescape' import pkg from '../../package.json' export default ({ head, css, html, data, dev, staticMarkup, cdn }) => { return
{(head || []).map((h, i) => React.cloneElement(h, { key: i }))} {staticMarkup ? null : } {staticMarkup ? null : createClientScript({ dev, cdn })} } function createClientScript ({ dev, cdn }) { if (dev) { return } if (!cdn) { return } return }