Browse Source

Fix typo: missing `reactNode` in `hydrateRoot.md` (#5827)

main
이동현 2 years ago
committed by GitHub
parent
commit
e5fd79cdbb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/content/reference/react-dom/client/hydrateRoot.md

2
src/content/reference/react-dom/client/hydrateRoot.md

@ -18,7 +18,7 @@ const root = hydrateRoot(domNode, reactNode, options?)
## Reference {/*reference*/} ## Reference {/*reference*/}
### `hydrateRoot(domNode, options?)` {/*hydrateroot*/} ### `hydrateRoot(domNode, reactNode, options?)` {/*hydrateroot*/}
Call `hydrateRoot` to “attach” React to existing HTML that was already rendered by React in a server environment. Call `hydrateRoot` to “attach” React to existing HTML that was already rendered by React in a server environment.

Loading…
Cancel
Save