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

116
Views
Facing issues while updating multiple states for a react component on Google chrome

I am working on a full-stack project which uses react js + spring boot to retrieve search information from the backend, I am using 3 state variables appliedStatusMessage, associatedPromoMessage, and expiryStatusMessage for displaying search results. I tried to run the application on google chrome and when I send a search query to the backend, I am not able to update all 3 states, instead only one state gets updated, i.e. expiryStatusMessage. The other 2 states do not get updated at all.

This is what I get in the console for chrome if I log the states after I send the search query to the backend: google chrome console log

However, if I run the project in firefox, it runs properly and I get the updated states back successfully once I send the search query: firefox console log

I don't know what is causing this error, I thought I may need to change some settings on chrome to process localhost requests for chrome, for that I referred to a StackOverflow thread on google chrome redirecting localhost to HTTPS. But that didn't help either. I am not sure what could have been a reason for this error to happen.

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!