I want to use ReactDOMServer.renderToStaticMarkup on the client side to turn some component into an HTML string (to use in a third party library) and I was wondering if adding the following will increase the bundle size or have any downsides on the performance or loading times:
import ReactDOMServer from "react-dom/server";