This document contains 17 questions about React interview concepts including the advantages of React, JSX, functional and class components, virtual DOM, controlled and uncontrolled components, React lifecycle methods, strict mode, preventing re-renders, state and props, hooks, styling components, keys, passing data between components, higher order components, prop drilling, error boundaries, and techniques to optimize performance.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
265 views
React Interview Questions - Answers
This document contains 17 questions about React interview concepts including the advantages of React, JSX, functional and class components, virtual DOM, controlled and uncontrolled components, React lifecycle methods, strict mode, preventing re-renders, state and props, hooks, styling components, keys, passing data between components, higher order components, prop drilling, error boundaries, and techniques to optimize performance.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
React Interview Question & Answers
1. What are the advantages of using React?
2. What is JSX? 3. What are the differences between functional and class components? 4. What is virtual DOM? How does React use virtual DOM to render UI? 5. What are the differences between controlled and uncontrolled components? 6. What are the different lifecycle methods in React? 7. Explain strict mode in React? 8. How to prevent re-renders in React? 9. Explain React state and props. 10. Explain React hooks. 11. What are the different ways to style a react component? 12. What are keys in React? 13. How to pass data between react components? 14. What are Higher Order Components? 15. What is prop drilling in React? 16. What are error boundaries? 17. Name a few techniques to optimize React app performance.