diff --git a/packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js b/packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js
index ad814b1a624c3..8f0f7b677fa9d 100644
--- a/packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js
+++ b/packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js
@@ -2960,7 +2960,7 @@ function pushTitle(
if (Array.isArray(children) && children.length > 1) {
console.error(
- 'React expects the `children` prop of
tags to be a string, number, or object with a novel `toString` method but found an Array with length %s instead.' +
+ 'React expects the `children` prop of tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead.' +
' Browsers treat all child Nodes of tags as Text content and React expects to be able to convert `children` of tags to a single string value' +
' which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes.' +
' For example: hello {nameOfUser}. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop' +
@@ -2971,7 +2971,7 @@ function pushTitle(
const childType =
typeof child === 'function' ? 'a Function' : 'a Sybmol';
console.error(
- 'React expect children of tags to be a string, number, or object with a novel `toString` method but found %s instead.' +
+ 'React expect children of tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead.' +
' Browsers treat all child Nodes of tags as Text content and React expects to be able to convert children of ' +
' tags to a single string value.',
childType,
@@ -2979,14 +2979,14 @@ function pushTitle(
} else if (child && child.toString === {}.toString) {
if (child.$$typeof != null) {
console.error(
- 'React expects the `children` prop of tags to be a string, number, or object with a novel `toString` method but found an object that appears to be' +
+ 'React expects the `children` prop of tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be' +
' a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of tags as Text content and React expects to' +
' be able to convert children of tags to a single string value which is why rendering React elements is not supported. If the `children` of is' +
' a React Component try moving the tag into that component. If the `children` of is some HTML markup change it to be Text only to be valid HTML.',
);
} else {
console.error(
- 'React expects the `children` prop of tags to be a string, number, or object with a novel `toString` method but found an object that does not implement' +
+ 'React expects the `children` prop of tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement' +
' a suitable `toString` method. Browsers treat all child Nodes of tags as Text content and React expects to be able to convert children of tags' +
' to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this ' +
' is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid .',
@@ -3123,10 +3123,11 @@ function pushStartTitle(
} else if (
childForValidation != null &&
typeof childForValidation !== 'string' &&
- typeof childForValidation !== 'number'
+ typeof childForValidation !== 'number' &&
+ typeof childForValidation !== 'bigint'
) {
console.error(
- 'A title element received a value that was not a string or number for children. ' +
+ 'A title element received a value that was not a string or number or bigint for children. ' +
'In the browser title Elements can only have Text Nodes as children. If ' +
'the children being rendered output more than a single text node in aggregate the browser ' +
'will display markup and comments as text in the title and hydration will likely fail and ' +