How can i add cases to UseReducer in React?

前端 未结 0 762
梦谈多话
梦谈多话 2021-01-03 03:28

So i am trying to use the useReducer hook but im not quite getting hang of it. Im trying to wanna be able to call the dispatch with a payload from outside and be able to upd

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