react-lazy-load-image-component
react-lazy-load-image-component copied to clipboard
Issue with lazy load component, ssr
Bug description
Warning: React.jsx: 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, or you might have mixed up default and named imports.
To Reproduce
import * as LazyLoad from 'react-lazy-load-image-component';
<LazyLoad.LazyLoadComponent>
<MyComponent
...
/>
</LazyLoad.LazyLoadComponent>
Technical details:
- Package version: 1.6.0
- Server Side Rendering: Yes
- Device: Any
- Operating System: Any
- Browser: Any