1.
In ReactJS, the data flow from the parent to the child components occurs through _______________________.
2.
In ReactJS, an expression must be wrapped within _________________________ such that the native JavaScript can be used as an attribute value.
3.
Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces on computers. In which one of these does ReactJS fit in?
4.
Which of the following lifecycle methods is required for every ReactJS component?
5.
In ReactJS, how will you update the state for a component?
6.
What is error in the following React JS code:
function Welcome(props) {
    return
    Hello, {
        props.name
    };
}

function app() {
    return (




    );
}

ReactDOM.render(,
    document.getElementById('root')
);
7.
Which of the following is used to tweak ReactJS tendency to re-render a component for every (sometimes trivial) state change?
8.
In React JS, which of the following options shows the correct order of methods to render any component for the first time?
9.
In ReactJS, which of these will give the exact output as the following:

console.log(<span/>)
10.
What is the output of the following React code:
function onClick(event) {
        const eventType = event.type;

        setTimeout(function() {
            console.log(event.type);
            console.log(eventType);
        }, 0);