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()
View Answer
What is the output of the below code snippets ?import React from 'react';import ReactDOM from 'react-dom';const Component=()=>{ return <h1>This is Quiz Portal</h1>} ReactDOM.render( <Component />, document.getElementById("root"));(A) Component(B) This is Quiz Portal(C) Error in code(D) None of the above
View Answer
What is the best definition of React.js ?(A) Server-side Framework(B) User-interface framework(C) A Library for building interaction interfaces(D) None of These
View Answer