React JS Quiz April 18, 2020 Padhmanaban 1. Which of the following "Events" are dependent on the browser specification in React? Pointer Event Wheel Events Transition Events Touch Events 2. Which of the following Lifecycle phase are externally controlled by ReactDOM? Mounting UnMounting Updating Catching 3. What kind of error types are not caught by Error Boundaries? Constructor Rendering Event Handler Lifecycle Methods 4. Which of the following are parts of "propType" validation? PropTypes.array PropTypes.int PropTypes.func PropTypes.undefined 5. In stateless functional components, are we able to specify "propTypes" & "defaultProps" as a property on the function? Yes No 6. Which of the following are basic features of the react library? Server-side Rendering Declarative Paradigm propTypes Validation Virtual-DOM 7. Which of the tools allow you to test React Application? Mocha React Testing Library Jest Jasmine 8. const { blogger, programmer } = profile? Destructuring Assignment Spread Operator Array Destructuring Default Assignment 9. What are the different way to pass a props into the React.Component? setState() propTypes Parent Component defaultProps 10. What type of diffing algorithm, React using to find the difference between Actual and in-memory DOM while "state"change/update? Evolutionary Memetic Heuristic Simulation Optimization 11. In React, what this.setState() method will return? Boolean Void Object Array Time is Up! Time's up