Uncaught (in promise) TypeError: Cannot read property 'createElement' of undefined(…)

前端 未结 0 430
无人及你
无人及你 2021-02-12 06:36

I needed to refactor my stateless functional component to a class. When I did so though, I keep getting an error where it looks like React itself is undefined.

i         


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