未捕获的TypeError:Object(...)在simplebar-react中不是函数

时间:2020-09-07 10:41:38

标签: javascript reactjs webpack simplebar

使用简单的React包时出现错误 https://www.npmjs.com/package/simplebar-react

simplebar-react.esm.js:27未捕获的TypeError:Object(...)在updateForwardRef处的renderWithHooks(react-dom.development.js:14803)的simplebar-react.esm.js:27处不是函数(react-dom.development.js:16816)在Object.invokeGuardedCallbackDev(react-dom.development)的HTMLUnknownElement.callCallback(react-dom.development.js:188)的beginWork(react-dom.development.js:18645)上。 js:237)在workGuard同步(react-dom。 .development.js:22130)

0 个答案:

没有答案