eager-mount discover hero and first row, preload deeper rows with 1600px margin
This commit is contained in:
@@ -46,8 +46,8 @@ interface Props {
|
||||
export default function LazyMount({
|
||||
children,
|
||||
placeholder,
|
||||
mountMargin = '1600px',
|
||||
unmountMargin = '2400px',
|
||||
mountMargin = '600px',
|
||||
unmountMargin = '1500px',
|
||||
className,
|
||||
}: Props) {
|
||||
const ref = useRef<HTMLDivElement>(null)
|
||||
|
||||
Reference in New Issue
Block a user