Skip to content

Commit 7e8a0f4

Browse files
committed
codes
1 parent b7d0ac4 commit 7e8a0f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/error-codes/codes.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,5 +432,7 @@
432432
"444": "getResource encountered a resource type it did not expect: \"%s\". this is a bug in React.",
433433
"445": "\"currentResources\" was expected to exist. This is a bug in React.",
434434
"446": "\"resourceRoot\" was expected to exist. This is a bug in React.",
435-
"447": "While attempting to insert a Resource, React expected the Document to contain a head element but it was not found."
435+
"447": "While attempting to insert a Resource, React expected the Document to contain a head element but it was not found.",
436+
"448": "createPortal was called on the server. Portals are not currently supported on the server. Update your program to conditionally call createPortal on the client only.",
437+
"449": "flushSync was called on the server. This is likely caused by a function being called during render or in module scope that was intended to be called from an effect or event handler. Update your to not call flushSync no the server."
436438
}

0 commit comments

Comments
 (0)