Skip to content

LazyLoad not rendering child component when JavaScript is disabled in the browser #415

@diennn-gg

Description

@diennn-gg

I'm using the react-lazyload library to lazy-load some components in my React application. However, I've encountered an issue where the child component inside LazyLoad is not rendered when JavaScript is disabled in the browser.

When JavaScript is disabled, the The Component is not rendered. I'm aware that LazyLoad relies on JavaScript to detect when the component should be loaded, but I need to ensure that Component still renders even if JavaScript is turned off.

Is there a way to make LazyLoad render child components when JavaScript is disabled?

Thank?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions