render the result reactdomserver javascript code example Example: how to use renderto string ReactDOMServer.renderToString(element)