Call and API inside useEffect in react native?

后端 未结 0 1468
旧时难觅i
旧时难觅i 2020-12-18 04:40

I\'m calling an Api to get data but the data is really heavy. I\'m wondering if i\'m calling it in right place inside useEffect or should i call it somewhere else. My code i

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