Skip to content

Issue with lazy load component, ssr #125

Open
@parth391

Description

@parth391

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ssrRelated to Server Side Rendering

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions