JSPM

react-infinite-scroll-loading

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q19279F
  • License MIT

Infinite scroll component for React.

Package Exports

  • react-infinite-scroll-loading

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-infinite-scroll-loading) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Infinite Scroll Loading

Infinite scroll component for React.

Installation and Usage

CJS or ESM

$ npm i react-infinite-scroll-loading -S
# or
$ yarn add react-infinite-scroll-loading

UMD

Getting Started

see https://github.com/CassetteRocks/react-infinite-scroller

Reset pageStart

import InfiniteScroll from 'react-infinite-scroll-loading';

<InfiniteScroll
  pageStart={0}
  loadMore={loadFunc}
  hasMore={true || false}
  loader={<div className="loader" key={0}>Loading...</div>}
  resetPage={true || false}
>
  {items} // <-- This is the content you want to load
</InfiniteScroll>

API