I’m getting this error a lot with Apollo: TypeError: Cannot read property ‘x’ of undefined.
The errors I’m seeing are caused by a real error somewhere later, but the original error is lost, and the page/component is rendered a second time, and the data object becomes undefined on the second render.
I submitted a ticket on the React Apollo project but no reply. Has anyone seen something similar? Does anyone who understands React and Apollo have any ideas? I think the problem is related to Apollo, but I’m not sure.