useEffect doesn't see dispatch function returned from useContext in first render?

前端 未结 0 638
野的像风
野的像风 2021-01-21 04:02

I have component which uses useContext inside it to set token value. It looks like this,

const MyComponent = () => {
  c         


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