search

Home  >  Q&A  >  body text

javascript - react infinite lazy loading

As the page scrolls, use react.js to achieve infinite lazy loading without plug-ins.

黄舟黄舟2781 days ago867

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-06-15 09:24:36

    Scroll to the bottom to load new data

    reply
    0
  • typecho

    typecho2017-06-15 09:24:36

    Idea: load a part (similar to paging), scroll to the bottom, ajax requests the data of the second page and then splices it, and then in sequence. . . .

    reply
    0
  • Cancelreply