Browse Source

Fix typo in flushSync docs (#5589)

main
Minh Nguyen 2 years ago
committed by GitHub
parent
commit
47adefd30c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/reference/react-dom/flushSync.md

2
beta/src/content/reference/react-dom/flushSync.md

@ -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>

Loading…
Cancel
Save