React Interview Questions 1. What is Virtual DOM? How does the virtual DOM work? Answer 2*. What is an incremental DOM? How does the incremental DOM work? Answer 3. What is a component? What are the types of components? Answer 4. What is a class component? How to create a class component? What are the disadvantages of class components? Answer 5. What is a functional component? What is the difference between class and functional components? Answer 6. Tell us about the rendering system in react Answer 7. How to avoid unnecessary rerendering? Answer 8. Why do I need a second argument in React.memo? Answer 9. What is reconsilation and how does the reconsilation algorithm work? Answer 10. What is a hook? What hooks do you know? Answer 11. Why do we need a second argument from useEffect? Answer 12. When is the cleanup function performed? Answer 13. Why do we need refs and how to work with them? Answer 14. Tell us about State-Management in React Answer 15. When should I use useState? Answer 16. What Is Props Drilling? Answer 17. When should I use Context? Answer 18. When to use global State-Management? Answer 19. How does the Flux architecture work? Answer 20. Pros and cons of Redux? Pros and cons of MobX? Answer 21. What are the options for optimizing component performance? Answer 22. What is memoization? What are the options for memoization in React? Answer 23. What is PureComponent? Answer 24. What is immunability? Answer 25. When might virtualization be needed? Answer