mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
646a30e8a168a111e1bb51fb642661ff5d7f49ce
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.
---------
Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
DiffTrain build for [4cd7065665](https://github.com/facebook/react/commit/4cd7065665ea2cf33c306265c8d817904bb401ca)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%