Delay running next line of code when using ReactJS

后端 未结 0 1853
深忆病人
深忆病人 2020-12-19 08:22

I want my code to wait 500 milliseconds before performing the next step.

I\'ve used setTimeout but it doesn\'t work.

updateDisplay = (arr)         


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