mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
I originally added this in #21021 but I didn't mention why and I don't quite remember why. Maybe because there were no other message? However at the time the recoverable errors mechanism didn't exist. Today I believe all cases where this happens will trigger another recoverable error. Namely these two: https://github.com/facebook/react/blob/87cd859e92e72ec6e6fe77ac195512fc0e959deb/packages/react-reconciler/src/ReactFiberBeginWork.js#L1442-L1446 https://github.com/facebook/react/blob/87cd859e92e72ec6e6fe77ac195512fc0e959deb/packages/react-reconciler/src/ReactFiberBeginWork.js#L2962-L2965 Therefore this is just an extra unnecessary log.