I'm working on updating our @gooddata/react-components package from version 5.3.1 to version 6.0.1. I had a number of table insights which were working fine, but now some of them fail to render with this error:
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'.
I'm passing the same props
as I was with 5.3.1, so why are my insights now failing to load?
I encountered the same error and fixed it by upgrading to React 16 from React 15 I was using before. The @gooddata/react-components
uses the new React since version 6.0.0.