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