Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use React Suspense when rendering async modals #28386

Merged
merged 6 commits into from
Nov 12, 2024
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Nov 5, 2024

No description provided.

Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's React Suspense? Why is it good, and what are the practical implications of it?

@t3chguy
Copy link
Member Author

t3chguy commented Nov 6, 2024

What's React Suspense?

https://react.dev/reference/react/Suspense

Why is it good

Enables Concurrent Mode https://react.dev/blog/2022/03/29/react-v18#what-is-concurrent-react

and what are the practical implications of it?

  1. Aligning with the React way to do things
  2. Fulfilling a customer contract
  3. Speed

@t3chguy t3chguy requested a review from richvdh November 6, 2024 16:23
@richvdh
Copy link
Member

richvdh commented Nov 7, 2024

I'm going to wait for review from a member of the web team before looking at this. If the web team is happy, I'll check the crypto bits.

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@t3chguy t3chguy enabled auto-merge November 12, 2024 21:03
@t3chguy t3chguy added this pull request to the merge queue Nov 12, 2024
Merged via the queue into develop with commit 27a43e8 Nov 12, 2024
32 checks passed
@t3chguy t3chguy deleted the t3chguy/async-wrapper branch November 12, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants