Open
Description
Summary
I noticed that while maximum update depth exceeded, Class Components will throw an Error, but Function Components only console.error only in the development environment. I’d like to understand the reason for this behavior and whether it’s possible for Function Components to also throw an Error. Our project aims to catch such errors promptly.