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

126
Vistas
When to use curly brace import vs plain import statements

I have been doing quite a bit of JS recently, and although I usually get things to work via trial and error, I don't really understand why or when to use curly brace imports vs just "plain" imports?

import { thing } from 'file'

import otherThing from 'different-file'

I'm just wondering what the difference is between the two and how I can tell when to use one vs the other? I'm sure this was explained in some lesson I had, but I must have memory-holed it or just not paid attention.

I always use NodeJS, not sure if that really makes a difference in the context of this question.

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