Handle states when calling a common method in same component multiple times

前端 未结 0 1034
无人及你
无人及你 2021-01-02 16:42

I have a common function for useeffect to handle ajax calls commonly as below: please ignore the other stuffs just focus on useEffect and useState only I want state differen

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