Main Navigation
Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.
Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.
Connect with us on social media
Interview experiences & questions tagged React
Define controlled and uncontrolled components in React. What are the benefits and drawbacks of each approach?
Design a reusable Star Rating component where clicking sets the rating, hovering previews the rating, and it supports keyboard navigation. How would you handle controlled vs uncontrolled components and prevent unnecessary re-renders? What accessibility roles would you add, and how would you write tests for it?
When does useLayoutEffect run compared to useEffect in React? What are the differences between the two?
What are controlled and uncontrolled components in React? How do they differ?
What is the difference between a normal variable and the useState hook in React?
Coming Soon