useEffect and promise priority in inital and subsequent renders I have below code and help me to find the output with accurate explanation.