Minh Nguyen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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> |
|
|
|