REACT Interview Practice #4

Q1. Which of the following lifecycle events React components have at the highest level?







Q2. Arbitrary inputs of components are called?







Q3. We can prevent default behavior in React using?







Q4. Which method is used to generate lists?







Q5. We can update the state in React.js by calling to setState() method. These calls are?







Q6. What is the smallest building block of ReactJS?







Q7. Which of the following statement is true for uncontrolled components in React.js?







Q8. What is true for the keys given to a list of elements in React?







Q9. Can components be passed as props?