Answer
An error boundary displays fallback UI when a descendant throws during rendering. It does not catch every event-handler or asynchronous error.
An error boundary displays fallback UI when a descendant throws during rendering. It does not catch every event-handler or asynchronous error.