get “TypeError: render is not a function” error when i import context from another file

前端 未结 0 693
半阙折子戏
半阙折子戏 2021-01-26 10:05

I am trying to do react context on a function. Initially, i created react context in the same file as the provider, but than i got a warning on the console saying that i should

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