react-lazy-load-image-component icon indicating copy to clipboard operation
react-lazy-load-image-component copied to clipboard

Issue with lazy load component, ssr

Open parth391 opened this issue 9 months ago • 0 comments

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

parth391 avatar Sep 28 '23 09:09 parth391