How to Check Data Loading Status like in GitHunt


Stumbled across this line in GitHunt:

Is the loading field created automatically? Or do I need to handle that myself? Couldn’t tell in the code, but when I log the field in my app it returns undefined.


loading should be created for you by react-apollo. See:


Okay, I see. I was destructing out my data first and missed that key. Thanks.