{"record":{"id":"582ffb3ec9e3f4aa","repo":"facebook/react","slug":"444","errorCode":"444","errorMessage":"getResource encountered a type it did not expect: \"${type}\". this is a bug in React.","messagePattern":"getResource encountered a type it did not expect: \"(.+?)\"\\. this is a bug in React\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js","lineNumber":5675,"sourceCode":"          resource = {\n            type: 'script',\n            instance: null,\n            count: 0,\n            state: null,\n          };\n          scripts.set(key, resource);\n        }\n        return resource;\n      }\n      return {\n        type: 'void',\n        instance: null,\n        count: 0,\n        state: null,\n      };\n    }\n    default: {\n      throw new Error(\n        `getResource encountered a type it did not expect: \"${type}\". this is a bug in React.`,\n      );\n    }\n  }\n}\n\nfunction describeLinkForResourceErrorDEV(props: any) {\n  if (__DEV__) {\n    let describedProps = 0;\n\n    let description = '<link';\n    if (typeof props.rel === 'string') {\n      describedProps++;\n      description += ` rel=\"${props.rel}\"`;\n    } else if (hasOwnProperty.call(props, 'rel')) {\n      describedProps++;\n      description += ` rel=\"${\n        props.rel === null ? 'null' : 'invalid type ' + typeof props.rel","sourceCodeStart":5657,"sourceCodeEnd":5693,"githubUrl":"https://github.com/facebook/react/blob/eafeac097ba51e1eab809c07102126bd5f8e5425/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js#L5657-L5693","documentation":"Error \"getResource encountered a type it did not expect: \"${type}\". this is a bug in React.\" thrown in facebook/react.","triggerScenarios":"Thrown at packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js:5675 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"}