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

96
Vistas
is importing entire module is Ok each time?

I am working on an angular project and using firebase. My question is What if I import the entire firebase module in each component Vs importing only what I required in that component from the firebase module? Why should I not import the entire module each time when I require it ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This will increase the loading time for your component. It is better to only load the module that your are going to use. For example import { trigger, state, style, transition, animate } from '@angular/animations'; instead of import { trigger, state, style, transition, animate } from '@angular';

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