Data becomes undefined in usequery of apollo client only when refreshing the page in the browser

后端 未结 0 1008
花落未央
花落未央 2020-12-04 06:58

The following code works when it hot reloads the react app. But when I press the refresh button(or press F5), the app crashes saying that the data is undefined.

I hav

相关标签:
回答
  • 消灭零回复
提交回复
热议问题