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

95
Vistas
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 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