React App is giving error when using context API

前端 未结 0 1757
青春惊慌失措
青春惊慌失措 2021-02-07 00:49

I am learning React and right now trying to implement the old way of working with Context API but when I try to compile I get an error. It says TypeError: context is undefined.

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