dillon1000/react
Commit
Browse files [fiber] bugfix - don't show <Offscreen> in error message. (#35763)
## Overview While building the RSC sandboxes I notice error messages like: > An error occurred in the `<Offscreen>` component This is an internal component so it should show either: > An error occurred in the `<Suspense>` component. > An error occurred in the `<Activity>` component. It should only happen when there's a lazy in the direct child position of a `<Suspense>` or `<Activity>` component.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/__tests__/ReactIncrementalErrorLogging-test.js ModifiedM packages/react-reconciler/src/getComponentNameFromFiber.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…