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