{"record":{"id":"1375766498a1bddd","repo":"facebook/react","slug":"451","errorCode":"451","errorMessage":"resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.","messagePattern":"resolveSingletonInstance was called with an element type that is not supported\\. This is a bug in React\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js","lineNumber":4865,"sourceCode":"            ' not found. React never removes the head for any Document it renders into so' +\n            ' the cause is likely in some other script running on this page.',\n        );\n      }\n      return head;\n    }\n    case 'body': {\n      const body = ownerDocument.body;\n      if (!body) {\n        throw new Error(\n          'React expected a <body> element (document.body) to exist in the Document but one was' +\n            ' not found. React never removes the body for any Document it renders into so' +\n            ' the cause is likely in some other script running on this page.',\n        );\n      }\n      return body;\n    }\n    default: {\n      throw new Error(\n        'resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.',\n      );\n    }\n  }\n}\n\nexport function acquireSingletonInstance(\n  type: string,\n  props: Props,\n  instance: Instance,\n  internalInstanceHandle: Object,\n): void {\n  if (__DEV__) {\n    if (\n      // If this instance is the container then it is invalid to acquire it as a singleton however\n      // the DOM nesting validation will already warn for this and the message below isn't semantically\n      // aligned with the actual fix you need to make so we omit the warning in this case\n      !isContainerMarkedAsRoot(instance) &&","sourceCodeStart":4847,"sourceCodeEnd":4883,"githubUrl":"https://github.com/facebook/react/blob/eafeac097ba51e1eab809c07102126bd5f8e5425/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js#L4847-L4883","documentation":"Error \"resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.\" thrown in facebook/react.","triggerScenarios":"Thrown at packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js:4865 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eafeac097ba51e1eab809c07102126bd5f8e5425","analyzedAt":"2026-08-21T22:01:08.818Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}