How do you handle asynchronous code execution and state updates in React · InterviewLane