Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda