i would move this assignment into the function that actually fetched this data because it feels wrong that the render function sets the object state and not the data handling function.
does that sound reasonable?