Suppose I am in Component A. In component A, I made an axios/api call request. While axios call is processing I moved to component B and then quickly came back to Component A(where axios call was being executed). When I receive the response and try to set state the console shows the error "Can not set state on unmounted component", even though the component is mounted. I did try the mount and unmount check but it is always showing me component is mounted. I tried everything but nothing worked. Help needed as I am new in React