How to call a function every minute in a React component?

前端 未结 0 864
一向
一向 2020-11-28 20:10

I make a table to get stock price quotes, it works well, but when I try to put a function include setState in the component, it falls into an infinite loop, it triggers setS

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