How to use Async/Await in useReducer() Action file

前端 未结 0 1723
孤独总比滥情好
孤独总比滥情好 2021-01-31 16:17

Im trying useReducer() in my file and was wondering if I could use asynchronous code, but in my console.log() I get an empty array, it hits my default.

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