diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 4aa8d89cdf..546f4a2ee0 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -138,5 +138,8 @@ "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." + "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)." }