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

199
Vistas
How to render byte array in react

I am building outlook kind of functionality, where I am getting attachments from server in byte array format. Now I want to preview these documents before downloading them. Attachments could be in any form ex: pdf, image, excel, ppt, doc, txt etc.

I found that we can convert byte array to blob object and from blob object I can get blob url using URL.createObjectURL which can be used for rendering the file.

So is there any library which can render blob url on web. I already tried react-file-previewer and react-doc-viewer, but none of them works on blob url.

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