Browse Source

[beta] Fix inconsistent anchor link on `flushSync` page (#5429)

Could not find any usage of `create-root` in the docs. 
This makes existing links effectively 404 with regards to the anchor but this is a beta after all.
main
Sebastian Silbermann 2 years ago
committed by GitHub
parent
commit
e77ba1e903
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

@ -24,7 +24,7 @@ flushSync(callback)
## Reference {/*reference*/}
### `flushSync(callback)` {/*create-root*/}
### `flushSync(callback)` {/*flushsync*/}
Call `flushSync` to force React to flush any pending work and update the DOM synchronously.

Loading…
Cancel
Save