Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with lazy load component, ssr #125

Open
parth391 opened this issue Sep 28, 2023 · 0 comments
Open

Issue with lazy load component, ssr #125

parth391 opened this issue Sep 28, 2023 · 0 comments
Labels
ssr Related to Server Side Rendering

Comments

@parth391
Copy link

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
@jotacodestudio jotacodestudio added the ssr Related to Server Side Rendering label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssr Related to Server Side Rendering
Projects
None yet
Development

No branches or pull requests

2 participants