Cant use values from (fetched) context(provider) as input to my useState

后端 未结 0 649
南旧
南旧 2021-02-02 04:22

Short version:

I have a useEffect in a ContextProvider where I fetch some data from server. In my component I use this Context and want to init another u

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