A

Admin • 828.03K Points
Coach

Q. What does `ReactDOM.hydrate` do?

  • (A) Mounts a React component
  • (B) Hydrates a server-rendered container
  • (C) Updates state
  • (D) Initializes a ref
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin
`ReactDOM.hydrate` is used to attach event handlers to server-rendered HTML.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.