mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Fix error codes (#7999)
* took codes.json from the 15-dev branch * fixed react:extract-errors task in gulpfile * generated error codes * Revert "generated error codes" This reverts commit b8f3aeed9d8f0d469edd5f6623fa6090930594d8. * Added a README for the error code system
This commit is contained in:
@@ -134,5 +134,13 @@
|
||||
"132": "Ended a touch event which was not counted in trackedTouchCount.",
|
||||
"133": "Touch object is missing identifier",
|
||||
"134": "Touch data should have been recorded on start",
|
||||
"135": "Cannot find single active touch"
|
||||
"135": "Cannot find single active touch",
|
||||
"136": "Attempted to update component `%s` that has already been unmounted (or failed to mount).",
|
||||
"137": "%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",
|
||||
"138": "Touch object is missing identifier.",
|
||||
"139": "ReactTestRenderer: .update() can't be called after unmount.",
|
||||
"140": "Expected hook events to fire for the child before its parent includes it in onSetChildren().",
|
||||
"141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().",
|
||||
"142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",
|
||||
"143": "React.Children.only expected to receive a single React element child."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user