diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index a2f70a7917635..a9869e0457605 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -a870b2d5494351d75b68c3d9baf03a52fd40a8ef +b09e102ff1e2aaaf5eb6585b04609ac7ff54a5c8 diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 08156fd5d2115..240a563bac11f 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -625,4 +625,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-www-modern-26dfe226"; +exports.version = "18.3.0-www-modern-94e2c94e"; diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 602441001fbb9..9bbd6cd3f1c8b 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require("react"); var ReactDOM = require("react-dom"); - var ReactVersion = "18.3.0-www-classic-3a1cc8c2"; + var ReactVersion = "18.3.0-www-classic-c69e4b0a"; // This refers to a WWW module. var warningWWW = require("warning"); @@ -548,9 +548,6 @@ if (__DEV__) { function stringToPrecomputedChunk(content) { return content; } - function clonePrecomputedChunk(chunk) { - return chunk; - } function closeWithError(destination, error) { // $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types. destination.destroy(error); @@ -6422,10 +6419,7 @@ if (__DEV__) { ) { resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction; - writeChunk( - destination, - clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth) - ); + writeChunk(destination, completeBoundaryWithStylesScript1FullBoth); } else if ( (resumableState.instructions & SentStyleInsertionFunction) === NothingSent diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 8c590afa0f72f..3a3ff0ef7dd65 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require("react"); var ReactDOM = require("react-dom"); - var ReactVersion = "18.3.0-www-modern-7205a424"; + var ReactVersion = "18.3.0-www-modern-ac7e39a5"; // This refers to a WWW module. var warningWWW = require("warning"); @@ -548,9 +548,6 @@ if (__DEV__) { function stringToPrecomputedChunk(content) { return content; } - function clonePrecomputedChunk(chunk) { - return chunk; - } function closeWithError(destination, error) { // $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types. destination.destroy(error); @@ -6422,10 +6419,7 @@ if (__DEV__) { ) { resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction; - writeChunk( - destination, - clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth) - ); + writeChunk(destination, completeBoundaryWithStylesScript1FullBoth); } else if ( (resumableState.instructions & SentStyleInsertionFunction) === NothingSent diff --git a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js index 7ce9ac7e9667f..bbe4bd147210e 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js @@ -544,9 +544,6 @@ if (__DEV__) { function stringToPrecomputedChunk(content) { return content; } - function clonePrecomputedChunk(chunk) { - return chunk; - } function closeWithError(destination, error) { destination.done = true; destination.fatal = true; @@ -6418,10 +6415,7 @@ if (__DEV__) { ) { resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction; - writeChunk( - destination, - clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth) - ); + writeChunk(destination, completeBoundaryWithStylesScript1FullBoth); } else if ( (resumableState.instructions & SentStyleInsertionFunction) === NothingSent diff --git a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js index d588102363f17..567318d5ddf79 100644 --- a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js +++ b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js @@ -74,7 +74,6 @@ export default [ "A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.", "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.", "A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", - "A large precomputed chunk was passed to writeChunk without being copied. Large chunks get enqueued directly and are not copied. This is incompatible with precomputed chunks because you cannot enqueue the same precomputed chunk twice. Use \"cloneChunk\" to make a copy of this large precomputed chunk before writing it. This is a bug in React.", "A nested %s was passed to row #%s in . Wrap it in an additional SuspenseList to configure its revealOrder: ... {%s} ... ", "A pointerId must be passed to \"%s\"", "A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", @@ -399,6 +398,7 @@ export default [ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", "memo: The first argument must be a component. Instead received: %s", "onError returned something with a type other than \"string\". onError should return a string and may return null or undefined but must not return anything else. It received something of type \"%s\" instead", + "precomputed chunks must be smaller than the view size configured for this host. This is a bug in React.", "propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", "react-test-renderer is deprecated. See https://react.dev/warnings/react-test-renderer", "renderToNodeStream is deprecated. Use renderToPipeableStream instead.",