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

89
Visualizações
I lose the pretty colouring on my code when I use optional chaining

Can anyone tell me why I am losing the code formatting when I use optional chaining in my JSX? There is no error thrown and the code runs, it just doesn't like it.

Shows div tags not highlighted in the correct colour

As shown above, everything after the brackets is now blue where it should be red. Currently using up to date create-react-app, ESLint, prettier and using VSCode as my development environment.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Fixed it - An extension was interfering with the formatting, disabling it fixed the issue.

The extension was Babel ES6/ES7 by dzannotti.

about 4 years ago · Juan Pablo Isaza Relatório
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