Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86d88a0

Browse files
committed
Update error codes
1 parent 0d9b921 commit 86d88a0

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
@@ -230,5 +230,7 @@
230230
"228": "TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.",
231231
"229": "TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.",
232232
"230": "_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.unstable_createPortal).",
233-
"231": "Expected `%s` listener to be a function, instead got a value of `%s` type."
233+
"231": "Expected `%s` listener to be a function, instead got a value of `%s` type.",
234+
"232": "_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).",
235+
"233": "Unsupported top level event type \"%s\" dispatched"
234236
}

0 commit comments

Comments
 (0)