Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Log captured errors sooner #10373
This prevents the captured error from becoming separated from the component stack if other errors (or console.error calls) are made between them, eg a component errors during unmount.
Relates to discussion on #10353 as well as out-of-band (not on GitHub) discussion.