Add chunkSize to more efficiently display cards #58
Annotations
4 errors and 4 warnings
lint:
src/Swiper.tsx#L1
Replace `·useEffect,·useImperativeHandle,·useRef,·type·ForwardedRef·` with `⏎··useEffect,⏎··useImperativeHandle,⏎··useRef,⏎··type·ForwardedRef,⏎`
|
lint:
src/Swiper.tsx#L64
React Hook useEffect has a missing dependency: 'chunkSize'. Either include it or remove the dependency array
|
lint:
src/Swiper.tsx#L71
Replace `currentIndex,·currentIndex·+·chunkSize` with `⏎········currentIndex,⏎········currentIndex·+·chunkSize⏎······`
|
lint
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-library
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-web
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|