求助,TypeError: __WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext is not a function ,请问下这个是什么错了

#1

#2

楼主解决了吗?我也遇到这个问题了。。头大啊。。第一次玩react

#3

你react什么版本

#4

我也遇到同样的错误。该怎么解决啊

#5

可能是你的 react 版本太低,升级下你的 react 和 react-dom 版本试试

#6

参考下这两个 issue:
https://github.com/hasura/react-check-auth/issues/24#issuecomment-440164438
https://github.com/elegantthemes/create-divi-extension/issues/129#issuecomment-402588773