├── .gitignore ├── .npmignore ├── README.md ├── package.json ├── rollup.config.js ├── src ├── EasyVirtualizedScroller.tsx ├── VisibilitySensor.tsx ├── helpers │ ├── checkSupportPassive.ts │ ├── domHelper.ts │ ├── functionHelper.ts │ ├── getParentScrollElement.ts │ ├── useAsyncLoading.ts │ ├── useParentScrollElement.ts │ ├── useRefCallback.ts │ ├── useRepaintCallback.ts │ └── useResizeObserver.ts ├── hooks │ ├── useCache.ts │ ├── useEasyVirtualizedScroller.ts │ ├── useLayout.ts │ └── useRender.tsx ├── index.ts └── types.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/.npmignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/EasyVirtualizedScroller.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/EasyVirtualizedScroller.tsx -------------------------------------------------------------------------------- /src/VisibilitySensor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/VisibilitySensor.tsx -------------------------------------------------------------------------------- /src/helpers/checkSupportPassive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/checkSupportPassive.ts -------------------------------------------------------------------------------- /src/helpers/domHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/domHelper.ts -------------------------------------------------------------------------------- /src/helpers/functionHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/functionHelper.ts -------------------------------------------------------------------------------- /src/helpers/getParentScrollElement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/getParentScrollElement.ts -------------------------------------------------------------------------------- /src/helpers/useAsyncLoading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/useAsyncLoading.ts -------------------------------------------------------------------------------- /src/helpers/useParentScrollElement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/useParentScrollElement.ts -------------------------------------------------------------------------------- /src/helpers/useRefCallback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/useRefCallback.ts -------------------------------------------------------------------------------- /src/helpers/useRepaintCallback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/useRepaintCallback.ts -------------------------------------------------------------------------------- /src/helpers/useResizeObserver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/helpers/useResizeObserver.ts -------------------------------------------------------------------------------- /src/hooks/useCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/hooks/useCache.ts -------------------------------------------------------------------------------- /src/hooks/useEasyVirtualizedScroller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/hooks/useEasyVirtualizedScroller.ts -------------------------------------------------------------------------------- /src/hooks/useLayout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/hooks/useLayout.ts -------------------------------------------------------------------------------- /src/hooks/useRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/hooks/useRender.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minuukang/react-easy-virtualized/HEAD/tsconfig.json --------------------------------------------------------------------------------