Run Apollo mutation on first render with useEffect

后端 未结 0 1717
醉酒成梦
醉酒成梦 2021-01-30 11:00

I have a form in a MUI dialogue. I want to create an order when the dialogue first opens. I thought useEffect with empty dependency would do that but I can\'t seem to figure out

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