Commit a63c1f2
committed
Backport
A hydration error occurs when using `useId` with a parent that has a render phase update. This has already been fixed in React 19 by facebook#25713.
React 18 will have users for some time, and this issue is showing up in production. Therefore, this backports that fix to React 18.
Fixes facebook#31653.useId tracking fix to React 181 parent f1338f8 commit a63c1f2
File tree
2 files changed
+0
-2
lines changed- packages/react-reconciler/src
2 files changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | 443 | | |
445 | 444 | | |
446 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | 442 | | |
444 | 443 | | |
445 | 444 | | |
| |||
0 commit comments