next
Version:
The React Framework
9 lines (8 loc) • 364 B
JavaScript
const ERROR_MESSAGE = "Internal Error: do not use legacy react-dom/server APIs. If you encountered this error, please open an issue on the Next.js repo.";
export function renderToString() {
throw new Error(ERROR_MESSAGE);
}
export function renderToStaticMarkup() {
throw new Error(ERROR_MESSAGE);
}
//# sourceMappingURL=noop-react-dom-server-legacy.js.map