twobin / twobin/react-lazyload

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

Open
#415 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.