What is the following an example of? Facebook ReactJS Interview Question
var HelloWorld = React.createClass({ render: function() { return <div> Hello </div> } }); Ans: This is the example of a ...

https://www.interviewquestionspdf.com/2017/02/what-is-following-example-of-facebook.html
var HelloWorld = React.createClass({
render: function() {
return <div> Hello </div>
}
});
Ans:
This is the example of a Component
render: function() {
return <div> Hello </div>
}
});
Ans:
This is the example of a Component