React Questions

0 votes, 0 avg
108

React Questions

1 / 15

1. Regarding JSX attributes, Which of the following statement is true?

2 / 15

2. Which of the following command is used to Install create-react-app?

3 / 15

3. Find the bug in this code :

  function car({make, model}) {
  return < h1 > {make} {model} < /h1 > ;
}; 

4 / 15

4. How can you combine the following arrays using the spread operator?

5 / 15

5. Which operator can be used to conditionally render a React component?

6 / 15

6. Props are __________ into other components

7 / 15

7. What is the difference between the click behaviors of these two buttons (assuming that this.handleClick is bound correctly)?

A. < button onClick={this.handleClick} > Click Me < /button >  < /code> < /pre >

B. < button onClick={event => this.handleClick(event)}> Click Me < /button > 

8 / 15

8. Which of the following is true about the below syntax ?disabled = {false}

9 / 15

9. Who Develop React.js?

10 / 15

10. What can you use to handle code splitting?

11 / 15

11. What is the children prop?

12 / 15

12. What helps react for keeping their data unidirectional.?

13 / 15

13. React.js was Initially released in …………….

14 / 15

14. Which attribute is React’s replacement for using innerHTML in the browser DOM?

15 / 15

15. In which of the following directory React Components are saved?

Your score is

The average score is 43%

0%