가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

React 면접 질문과 답변

관련 차이점

Angular vs React

Ques 36. What would you do if your React application is rendering slowly?

The cause of slow rendering in React is mostly because of the number of re-render operations, which are sometimes unnecessary. There are two main tools provided by React to help users here:

  • memo(): This is used to prevent all of the unnecessary re-rendering carried out by the function components.
  • PureComponent: This is used to ensure that the unnecessary re-rendering of class components is avoided.

도움이 되었나요? Add Comment View Comments
 

Ques 37. Can you conditionally add attributes to components in React?

Yes, there is a way in which you can add attributes to a React component when certain conditions are met.

React has the ability to omit an attribute if the value passed to it is not true.

도움이 되었나요? Add Comment View Comments
 

Ques 38. Why is props passed to the super() function in React?

Props gets passed onto the super() function if a user wishes to access this.props in the constructor.

도움이 되었나요? Add Comment View Comments
 

Ques 39. What are the predefined prop types present in React?

There are five main predefined prop types in React. They are as follows:

  1. PropTypes.bool
  2. PropTypes.func
  3. PropTypes.node
  4. PropTypes.number
  5. PropTypes.string

도움이 되었나요? Add Comment View Comments
 

Ques 40. What is the difference between Virtual DOM and Real DOM?

Virtual DOMReal DOM
Changes can be made easilyChanges can be expensive
Minimal memory wastageHigh demand for memory and more wastage
JSX element is updated if the element existsCreates a new DOM every time an element gets updated
Cannot update HTML directlyAble to directly manipulate HTML
Faster updatesSlow updates

 

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.