Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

128
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda