Question: Why might you use a React.ref?

  1. to refer to another JS file
  2. to bind the function
  3. to call a function
  4. to directly access the DOM node

Answer: The correct answer of the above question is Option D:to directly access the DOM node