Context returning as undefined when exposing it through a custom hook with Typescript

后端 未结 0 1798
粉色の甜心
粉色の甜心 2021-01-23 05:20

I\'m working on a typescript version of Kent Dodd\'s pattern for using React Context with useReducer. You can see my version of the app at codesandbox.

In short, there ar

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