How to access React useContext outside a component?

前端 未结 0 1997
無奈伤痛
無奈伤痛 2021-01-21 05:30

I have all my api functions in a special folder. When I use them, I sometimes have to update the context, which stores the user\'s informations.

However, the app crashes

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