server side rendering react js code example Example: how to use renderto string ReactDOMServer.renderToString(element)