dillon1000/react
Commit
Browse files Fix `Failed to execute 'measure' on 'Performance'` error (#32823)
When `startTime` still has its initial value of `-1.1` we must not call
`logComponentMount`. This can occur when rendering a `'next/dynamic'`
component with `{ssr: false}` in a client component, for example.
Unfortunately, I didn't manage to reproduce this scenario in a unit
test.Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberCommitWork.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…