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

225
Visualizações
Remixjs - Redirect not loading all data when the creation request takes some time

I have an action function that is populating the database with some info,the action sometimes takes 10 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

return redirect(`/myawesomepage/${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

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

But It has the same result. Im checking the documentation but I can not see how to wait for data or invalidating cache in order to force to load the page.

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