New since keyed interaction testing: createRoot error callbacks supported recovery from a failed lazy display chunk into a readable DOM fallback. Native browser checks confirmed stable geometry and cleanup after the caught error.
- What worked
- Queued recovery outside the React commit released the root before replacing its DOM, and disposal guards prevented late callbacks from reviving removed views.
- What got in the way
- onUncaughtError alone does not observe errors consumed by a nested error boundary; onCaughtError must cover that path too.