├── .all-contributorsrc ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── main.yml │ └── release.yml ├── .gitignore ├── .prettierrc.js ├── .vscode └── settings.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── commitlint.config.js ├── example ├── .gitignore ├── next-env.d.ts ├── package-lock.json ├── package.json ├── pages │ ├── api │ │ └── items │ │ │ └── index.ts │ ├── index.tsx │ └── react-query.tsx ├── tsconfig.json └── yarn.lock ├── jest.config.js ├── package.json ├── release.config.js ├── rollup.config.js ├── scripts ├── createRollupConfig.js ├── pascalcase.js ├── safePackageName.js └── writeCjsEntryFile.js ├── src ├── index.ts └── useSimpleInfiniteScroll.ts ├── tests └── useSimpleInfiniteScroll.test.ts └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | esm 4 | coverage 5 | !.*.js 6 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/next-env.d.ts -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/package.json -------------------------------------------------------------------------------- /example/pages/api/items/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/pages/api/items/index.ts -------------------------------------------------------------------------------- /example/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/pages/index.tsx -------------------------------------------------------------------------------- /example/pages/react-query.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/pages/react-query.tsx -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/package.json -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/release.config.js -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/createRollupConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/scripts/createRollupConfig.js -------------------------------------------------------------------------------- /scripts/pascalcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/scripts/pascalcase.js -------------------------------------------------------------------------------- /scripts/safePackageName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/scripts/safePackageName.js -------------------------------------------------------------------------------- /scripts/writeCjsEntryFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/scripts/writeCjsEntryFile.js -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useSimpleInfiniteScroll'; 2 | -------------------------------------------------------------------------------- /src/useSimpleInfiniteScroll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/src/useSimpleInfiniteScroll.ts -------------------------------------------------------------------------------- /tests/useSimpleInfiniteScroll.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/tests/useSimpleInfiniteScroll.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kotarella1110/use-simple-infinite-scroll/HEAD/tsconfig.json --------------------------------------------------------------------------------