Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

220
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda