eager-mount discover hero and first row, preload deeper rows with 1600px margin

This commit is contained in:
2026-04-13 19:53:03 +03:00
parent 511bdd48cf
commit a9b961ad03
2 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -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)