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

186
Vistas
Should I import all images into JS file in RN

I have experience with React, but I am currently working on RN application and don't have enough experience with RN. I am thinking should I import all the static images on the app startup.

I am thinking this because I don't want to use images like;

<Image source={require('@/assets/icons/edit.png')} />

I want to create the Icon component and want to use it like this;

<Icon name="edit" />

I think it makes more sense to import the images at the beginning instead of importing them when the Icon component is called.

Is it bad for app performance to import all static images at app startup or is there no difference between importing images in screens and importing all at app startup?

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