You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I'm facing this same issue in my Astro js when I install the default from "react-lazy-load-image-component".
Did you eventually get a fix for this? or is there an alternative?
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
Technical details:
The text was updated successfully, but these errors were encountered: