楼主解决了吗?我也遇到这个问题了。。头大啊。。第一次玩react
你react什么版本
我也遇到同样的错误。该怎么解决啊
可能是你的 react 版本太低,升级下你的 react 和 react-dom 版本试试
参考下这两个 issue: https://github.com/hasura/react-check-auth/issues/24#issuecomment-440164438 https://github.com/elegantthemes/create-divi-extension/issues/129#issuecomment-402588773