Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | React.js Quiz | Set-1 | Question 15

  • Last Updated : 27 Sep, 2021

Which below function in React.js is used to get the DOM node when the component is rendered ?
(A) renderDOM()
(B) componentAtNode()
(C) getDOMNode()
(D) findDOMNode()


Answer: (D)

Explanation: The findDOMNode() function in React.js is used to get the DOM node when the component is rendered. It takes a single parameter as a component.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!