Frage im Vorstellungsgespräch bei Digital For Humanity

What is React, and how does it differ from other JavaScript frameworks/libraries? Explain the concept of a virtual DOM and how React utilizes it for performance optimization. What are React components, and how do you create functional and class components? What is JSX, and why is it used in React? How does React handle state management? Explain the difference between state and props. What is the significance of the "key" prop in lists and why is it important? What are controlled and uncontrolled components in React? Explain the React lifecycle methods and their order of execution. How do you handle forms in React and what are controlled components?