React UseEffect render twice

前端 未结 0 2015
南笙
南笙 2020-12-19 02:36

I\'m trying to add an item to my array using React useEffect, but this process repeats twice and I can\'t understand why, see my code below:

useE         


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