After the react-lazyload first screen is loaded, it will not be loaded by sliding again. Can you give me some advice on what loding, has used?

I almost brought the case over, but I still can"t. Ask for advice, everyone

import React from "react";
import LazyLoad from "react-lazyload";
import Lazyloading from "../Lazyloading/index";
import Placeholder from "../Lazyloading/Placeholder";

class Griddoubt extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
        };
    };
    render() {
        const data = this.props.data;
        //[{once: false, id: "https://img.codeshelper.com/upload/img/2021/07/01/vek1e2gojbc18534.png", count: 1},]
        return (
            <div>
                {data.map((el, index) => {
                    return (
                        <LazyLoad
                            once={el.once}
                            key={index}
                            height={200}
                            offset={[100, 0]}
                            placeholder={<Placeholder />} //loading
                            debounce={500}
                        >
                            <Lazyloading once={el.once} id={el.icon} count={index + 1} />
                        </LazyLoad>
                    );
                })}
            </div>
        );
    }
}

export default Griddoubt;


import React from "react";

class Lazyloading extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            isReady: true,
            count: 1,
        };
    };

    componentWillReceiveProps(nextProps) {
        if (nextProps.id !== this.props.id && this.props.id) {
            this.setState({
                isReady: false
            });

            setTimeout(() => {
                this.setState({
                    isReady: true,
                    count: this.state.count + 1
                });
            }, 500);
        } else {
            this.setState({
                isReady: true
            });
        }
    }

    render() {
        console.log(this.props);//
        return this.state.isReady ? (
            <div className="" style={{ height: "234PX", width: "50%", float: "left", background: "rgb(133, 138, 223)", textAlign: "center", }}>
                {this.props.once ? (
                    <div >
                        
                    </div>
                ) : (
                        <div >
                            
                        </div>
                    )}
            </div>
        ) : (
                <div >
                    loading...
                </div>
            );
    }
}

export default Lazyloading;

import React from "react";

export default function Placeholder() {
    return (
        <div style={{ height: "234PX", width: "50%", float: "left", background: "rgb(229, 142, 196)", textAlign: "center" }}>
            <img src="https://img.codeshelper.com/upload/img/2021/07/01/njrgcvth0e518535.png"
                style={{ width: "50% " }}
            />
        </div>
    );
}

have you solved this problem? I also encountered this problem


Local scrolling seems to have a problem all the time. Is this local scrolling

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2981f-330fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2981f-330fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?