Concept Flow - Error boundaries with onErrorCaptured
Child Component Throws Error
onErrorCaptured Hook in Parent
Return false
Stop Propagation
Parent Handles Error or Passes Up
When a child component throws an error, the parent's onErrorCaptured hook runs. Returning false stops error propagation; otherwise, it continues up.