GeezerVison is showing github.com — Convert useFocusWithin to createRoot by eps1lon · Pull Request #28128 · react/react
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Comparing: 9aef5d2...4b3f5a9
Critical size changes
Includes critical production bundles, as well as any change greater than 2%:
Significant size changes
Includes any change greater than 0.2%:
Expand to show
Generated by 🚫 dangerJS against 4b3f5a9
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+551
to
+554
|
|
await act(() => {
|
|
|
suspend = false;
|
|
|
resolve();
|
|
|
});
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
await act(() => {
|
|
|
suspend = false;
|
|
|
resolve();
|
|
|
});
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, the infinite loop error is because of the root.render(null); in the after each. If we flush here, it would be good to assert on the output:
|
}); |
|
}); |
|
expect(container2.innerHTML).toBe('<div><input style=""></div>'); |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
eps1lon reacted with thumbs up emoji
gnoff
added a commit
to gnoff/next.js
that referenced
this pull request
Feb 6, 2024
gnoff
added a commit
to vercel/next.js
that referenced
this pull request
Feb 6, 2024
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.