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

174
Views
How can i hold my datas in page when ı change active page in React.js?

I'm using material ui tabs and i have 8 pages in tabs. Every page is a component. And when i changed active tab, I call another component .There are inputs area in my pages so when i changed tabs and return previes tab, my old datas clear. so ı want to hold my input datas when pass to another tab. how can ı hold my data?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

I think the only way is to use redux. Save form data in redux and use them when you load the component to set initial data.

about 4 years ago · Juan Pablo Isaza Report

0

For the global client state, I can recommend Recoil, Redux, or MobX. For server state, I suggest you look at React-query or SWR.

about 4 years ago · Juan Pablo Isaza Report
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!