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

280
Vistas
How to render multiple Base64 images in the table

I have to render base64 images for avatar due to privacy issues, all promises for thumbnails are being resolved correctly but base64 images don't render properly from the browser memory cache.

enter image description here

Strangely, it does show up all base64 after re-render (when I click the sort icon, it doesn't trigger re-fetch).

And one more item appears from the network tab. I don't have any idea why.

Could you help me to render all images in base64 format properly?

Here's code snippet.

uniqueReferrals.forEach(({ gpReferralUuid, state }, idx) => {
        if (gpReferralUuid && state !== "hqSent") {
          healthQuestionnaireReviewService
            .getPatientThumbanils(gpReferralUuid)
            .then((res) => {
              const { hasPhotos } = res;

              if (hasPhotos) {
                const frontThumbnail = res.photos.frontThumbnail;
                uData[idx].avatar = frontThumbnail;
                setReferralSummary(uData);
              }
            })
            .catch((error) => {});
        }
      });

<tr>
<td>
<Avatar
    className={classes.avatar}
    src={row.avatar}
    alt="Thumbnail"
/>

enter image description here

about 4 years ago · Juan Pablo Isaza
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