1.
What are the accepted ways to create a new React component ?
A. React.createComponent()
B. React.createClass()
C. React.Component
2.
What is the following React code an example of:
var hw = React.createClass({
    render: function() {
        return
        Hi

    }
})
3.
You are handling JavaScript events with React. How can you get the value of text field?
4.
Which of the following is correct about data-react-id attribute?
A. Used by React to uniquely identify components
B. It is a reference to the DOM node.
C. It is an ID used to control styling of an element
5.
Which of the following is used to access a child of the react component?
6.
In ReactJS, defaultProps is a property of _______________________ class.
7.
Which of the following lifecycle methods is not invoked after render() ?
A) componentWillMount()
B) constructor()
C) componentDidMount()
8.
How would you set the default values of properties in ReactJS?
9.
What is the output of the following ReactJS code:
 
<div>
    I am {String(false)}.
</div>
10.
Which of these will give the same output as the following statement:
console.log(<div/>)