Files
scrap/node_modules/next/dist/esm/server/app-render/rsc/taint.js
2024-09-24 03:52:46 +00:00

12 lines
532 B
JavaScript

/*
Files in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.
*/ import * as React from "react";
function notImplemented() {
throw new Error("Taint can only be used with the taint flag.");
}
export const taintObjectReference = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintObjectReference : notImplemented;
export const taintUniqueValue = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintUniqueValue : notImplemented;
//# sourceMappingURL=taint.js.map