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

160
Visualizações
React returns errors ONLY when saving context but when I reload everything is normal

I am trying to create this web app with a context that contains two functions. Then I pass these functions to two components and everything works fine. I can use the functions, I get no errors when using the app, no errors when I reload. BUT when I save the context file -that is, I ctrl+S on my vsCode context.jsx file- , the app crashes and I get undefined errors for the two functions Im passing. If I reload the webpage it all goes back to normal. Anyone experienced this? I'm not looking to solve my code I just want to know: Is it ok for a react app to crash when saving individual files as long as the app works fine when launched?

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