next
Version:
The React Framework
12 lines (9 loc) • 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