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

182
Views
Gatsby React Context does not revert on clicking back button

I have a Wordpress headless CMS with a GatsbyJS Frontend where I have a React Context API boolean that is retrieved throughout all pages. When a user changes the boolean within the page and then navigates back to the previous page the boolean remains and does not revert. The boolean is stored and retrieved from local storage.

Is there any way to be able to update the context on back button click?

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!