DEV Community

Discussion on: Top Interview Questions for Frontend Developers(React)

Collapse
 
ortonomy profile image
🅖🅡🅔🅖🅞🅡🅨 🅞🅡🅣🅞🅝 • Edited

Depending on the answers to my questions, I know: the above would really show an understanding of how react works and therefore an ability to:

  • know how react decides to re-render (e.g. referential equality)
  • know when & why to use imperative escape hatches over the declarative nature of react
  • know when & why to optimize performance

Subjects I would not really expect a junior/intern to know much about.

Thread Thread
 
abhishekraj272 profile image
Abhishek Raj

Its all about what are requirements of developers in which country.
In my country, even interns are required to know

  1. When to use useState/useRef?
  2. How to use useEffect?
  3. When/How to optimise using memo/callback?