Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Fix typo in flushSync docs (#5589)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored Feb 11, 2023
1 parent d696cb1 commit 47adefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beta/src/content/reference/react-dom/flushSync.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ If you remove the call to `flushSync`, then when the print dialog will display `

`flushSync` can significantly hurt performance, and may unexpectedly force pending Suspense boundaries to show their fallback state.

Most of the time, `flushSync` can be avoided, so use `flushSync` as last resort.
Most of the time, `flushSync` can be avoided, so use `flushSync` as a last resort.

</Pitfall>

0 comments on commit 47adefd

Please sign in to comment.