Q.1.
In React what is used to pass data to a component from outside?
Q.2.
What is the DOM?
Q.3.
Which of the following API is a MUST for every ReactJS component?
Q.4.
What is a good use case for using a function while rendering a dynamic list of items
Q.5.
Which method is not part of ReactDOM?
Q.6.
Which of the following is correct syntax for a button click event handler, foo?
Q.7.
What is a controlled input element?
Q.8.
How do you write an inline style specifying the font-size:12px and color:red; in JSX
Q.9.
At the highest level, React components have lifecycle events that fall into
Q.10.
What is the second argument for setState useful for?
Q.11.
What happens when the following render() method executes?<br /><br /> render(){<br /> let langs = ["Ruby","ES6","Scala"]<br /> return (<div><br /> {langs.map(it => <p>{it}</p>)}<br /> </div>)<br /> }<br />
Q.12.
How many elements does a react component return?
Q.13.
What are the two ways that data gets handled in React?
Q.14.
Everything in react is
Q.15.
What function allows you to render React content in an HTML page?
Q.16.
What is JSX?
Q.17.
What function can be used to update state?
Q.18.
Who Develop React.js?
Q.19.
When it is recommended to pass this.setState as a function instead of an object?
Q.20.
Which of the following below act as the input of a class-based component?