react_dom_server__WEBPACK_IMPORTED_MODULE_4_default(...) is not a function code example Example: how to use renderto string ReactDOMServer.renderToString(element)