← Zomato questions
CodingReported in a candidate post, Apr 2024

Implement basic versions of useState and useEffect

Filed under Zomato

Implement simplified versions of React's useState and useEffect hooks. useState should return the current value and a setter that triggers a re-render, and useEffect should run a callback after render…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zomato questions

Collected from public candidate posts and coding forums. Updated Nov 2026.