--

yup, we have used the lifecycle types (pending,fulfiled, rejected) to better optimise the async functions and also it also provides signal (AbortController.signal object) to better handle race conditions, as we were able to cancel API calls, in a way it performs like debouncing .

--

--

Abhimanyu Chauhan

JS Enthusiast, with a passion for travelling and writing.