Code Journey
Developer Resources Hub
React Js
Explore categorized interview questions by level to sharpen your skills.

Questions & Answers

Deep dive into indexed interview questions to master your next technical round.

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