Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

144
Vistas
Nextjs Image component loading slow on map

When i use map the images render slow on localhost. However, when I dont use map it loads quickly.

I used a variety of props from Image component but none seem to fix this issue.

However, after all images rendered and I hit the refresh button they load fast.

This is quite confusing. Is there any way to load images quickly upon first page visit?


import React from 'react';
import Image from 'next/image';
import styles from './Peoples.module.scss';
export const Peoples = () => (
  <>
    {[...Array(10)].map((x, i) => (
      <div className={styles.team_img_container} key={i}>
        <Image
          style={{ height: 100, width: 100 }}
          src={`/people/${i + 1}.webp`}
          alt="Picture of the author"
          width={100}
          height={100}
          // unoptimized={true}
          // loading="eager"
          priority={true}
          // quality={70}
        />
      </div>
    ))}
  </>
);

export default Peoples;
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

So I deployed this and left it as is It seems like during development mode all png or jpg will be converted to webp hence the slow reload. So deploy it and check out its performance on Vercel just dont use webp cause next will convert that 2 .

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda