You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on:
- #28804
---
This sets adds a new ReactDOM export called requestFormReset, including
setting up the export and creating a method on the internal ReactDOM
dispatcher. It does not yet add any implementation.
Doing this in its own commit for review purposes.
The API itself will be explained in the next PR.
Copy file name to clipboardexpand all lines: scripts/error-codes/codes.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -506,5 +506,6 @@
506
506
"518": "Saw multiple hydration diff roots in a pass. This is a bug in React.",
507
507
"519": "Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.",
508
508
"520": "There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",
509
-
"521": "flushSyncWork should not be called from builds that support legacy mode. This is a bug in React."
509
+
"521": "flushSyncWork should not be called from builds that support legacy mode. This is a bug in React.",
510
+
"522": "Invalid form element. requestFormReset must be passed a form that was rendered by React."
0 commit comments