From e14532fd8df858a319d3eca687d83227209a498c Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Wed, 6 Mar 2024 22:26:13 -0500 Subject: [PATCH] Update snapshots --- .../__tests__/ReactDOMHydrationDiff-test.js | 211 ++++++++++++++++++ 1 file changed, 211 insertions(+) diff --git a/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js b/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js index 43866294204a3..bae121e402dc2 100644 --- a/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js +++ b/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js @@ -103,6 +103,12 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
+ + client + - server ]", "Caught [There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.]", ] @@ -137,6 +143,11 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+ + This markup contains an nbsp entity:   client text + - This markup contains an nbsp entity:   server text ]", "Caught [There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.]", ] @@ -173,6 +184,16 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
client" + - __html: "server" + }} + > ", ] `); @@ -205,6 +226,15 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
", ] `); @@ -236,6 +266,16 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
", ] `); @@ -267,6 +307,16 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
", ] `); @@ -298,6 +348,16 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
", ] `); @@ -330,6 +390,14 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
", ] `); @@ -361,6 +429,10 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+ +
]", "Caught [There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.]", ] @@ -392,6 +464,12 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+ +
+ -
+ ... ]", "Caught [There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.]", ] @@ -423,6 +501,13 @@ describe('ReactDOMServerHydration', () => { It can also happen if the client has a browser extension installed which messes with the HTML before React loaded. https://react.dev/link/hydration-mismatch + + +
+
+ +
+ -