Convert a useReducer function into a hook - React Typescript

后端 未结 0 1645
故里飘歌
故里飘歌 2021-01-07 20:04

I have a state updater using useReducer. I would like to make it a hook (strongly typed). Please advice.

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