我正在將我們的 @gooddata/react-components 包從 5.3.1 版更新到 6.0.1 版。我有許多工作正常的表格見解,但現在其中一些無法呈現此錯誤:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of 'BubbleHoverTrigger'.
我的通過props
與 5.3.1相同,那麼為什麼我的見解現在無法加載?
我遇到了同樣的錯誤,並通過從我之前使用的 React 15 升級到 React 16 來修復它。在@gooddata/react-components
新的用途,因為6.0.0版反應。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句