Skip to content

Commit

Permalink
Fix uSES hydration in strict mode (#26791)
Browse files Browse the repository at this point in the history
Summary:
Previously, we'd call and use getSnapshot on the second render resulting
in `Warning: Text content did not match. Server: "Nay!" Client: "Yay!"`
and then `Error: Text content does not match server-rendered HTML.`.

Fixes #26095. Closes #26113. Closes #25650.

---------

DiffTrain build for commit facebook/react@4cd7065.

Reviewed By: mofeiZ

Differential Revision: D45829972

Pulled By: sammy-SC

fbshipit-source-id: e89404c53a1b8478d22252ca24ddcc9647744d37

Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
  • Loading branch information
2 people authored and facebook-github-bot committed May 23, 2023
1 parent 671ea38 commit d810043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/Libraries/Renderer/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a389046a529c6d22ba5895dd7f5d4b0b8d17c345
4cd7065665ea2cf33c306265c8d817904bb401ca

0 comments on commit d810043

Please sign in to comment.