UNPKG

preact-render-to-string

Version:

Render JSX to an HTML string, with support for Preact components.

9 lines (8 loc) 164 B
if (typeof Symbol !== 'function') { let c = 0; // eslint-disable-next-line Symbol = function (s) { return `@@${s}${++c}`; }; Symbol.for = (s) => `@@${s}`; }