Last time, when I was taking a technical interview and working on a take-home test, I encountered an issue related to state management and lifecycle of React.
Javascript is a single-threaded, and all codes are executed in a sequence, not in a parallel fashion. In other words, unlike other languages such as Java, there is only one thread in Javascript, and it can be blocked by an expensive operation.