Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

152
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!