Follow up on @rickhanlonii's comment: https://github.com/facebook/react/pull/22670#issuecomment-956569098
const path = resolve(
    __dirname,
    '..',
    '..',
    'packages/shared/registerInternalModuleStart.js'
  );
  return String(readFileSync(path)).trim();
}
function registerInternalModuleStop(globalName) {