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

213
Views
How to Handle .then() async redux call in Functional React?

I was using class based React with redux till now, but due to some reasons had to shift to functional components.

Earlier in class used to handle code post action call in .then

for example

this.props.someAction() //axois /fetch async request
.then(()=>{
  this.props.someValue; 
})

So used to get all the details in .then()

But in functional in .then cant get the updated props values coming from store.

have to use useEffect hook

can someone help me with a best solution to avoid calling useEffect even on first load?

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!