How to run useEffect and setState multipletime on useEffect

后端 未结 0 1327
执笔经年
执笔经年 2021-01-22 16:09

I am trying to re-arrange a state two times, however, the state only takes in effect on the last useState, what can I use to re-arrange a state multiple time?

Code as bel

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