Deep dive into indexed interview questions to master your next technical round.
| # | Question | Action |
|---|---|---|
| 1 | What is React? | |
| 2 | What is JSX? | |
| 3 | What is the virtual DOM? | |
| 4 | What is a React component? | |
| 5 | What are props in React? | |
| 6 | What is state in React? | |
| 7 | What is the difference between state and props? | |
| 8 | What is the useState hook? | |
| 9 | What is the useEffect hook? | |
| 10 | What is the difference between functional and class components? | |
| 11 | What is create-react-app? | |
| 12 | What is the role of the key prop in lists? | |
| 13 | What is React.Fragment? | |
| 14 | What is conditional rendering in React? | |
| 15 | How do you handle events in React? | |
| 16 | What is prop drilling and why is it a problem? | |
| 17 | What is the React Context API? | |
| 18 | What is React Router? | |
| 19 | What is the difference between a controlled and uncontrolled component? | |
| 20 | What is the purpose of the render method in class components? | |
| 21 | What are React lifecycle methods? | |
| 22 | What does componentDidMount do? | |
| 23 | What is the difference between == and === in JavaScript as it relates to React? | |
| 24 | How do you pass data from a child component to a parent? | |
| 25 | What is the defaultProps property? | |
| 26 | What is PropTypes and why is it used? | |
| 27 | What is the difference between a SPA and a traditional web application? | |
| 28 | What is the significance of the index.js file in a React project? | |
| 29 | What is the difference between React and ReactDOM? | |
| 30 | What is an array destructuring and how is it used with useState? | |
| 31 | What is the purpose of the public folder in a React project? | |
| 32 | What is the children prop? | |
| 33 | What is event bubbling and how does React handle it? | |
| 34 | What is the significance of import and export in React? | |
| 35 | What is strict mode in React? | |
| 36 | What is the difference between innerHTML and textContent? | |
| 37 | What is reconciliation in React? | |
| 38 | How do you update an object in state correctly? | |
| 39 | What is the useRef hook used for? | |
| 40 | What is the difference between npm and yarn? |