useReducer + Context api + useEffect = infinite loop

前端 未结 0 741
灰色年华
灰色年华 2020-12-02 00:16

I am trying to practice with useReducer and context api but when trying to execute the function that returns the data, I get an infinite loop

reducer.js



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