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

94
Visualizações
I have an action function that is populating the database with some info but isn't workig

I have an action function that is populating the database with some info,the action sometimes takes 40 seconds or so in finishing the request that is like

const creatingData = await createData();

Then I have a redirect that points to the created data but when i call api it take so many times.

return redirect(`/myInventory/${creatingData.id}`);

The point is that when the page is loaded, the main content is not there, but if I reload the page all the content appears correctly.

I have tested with this code.

(`/myawesomepage/${creatingData.id}`);

please suggests me any solution.

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