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

166
Vistas
Unable to connect with a dynamic route directly

I'm having trouble with react-router's dynamic routes.

Here's how my dynamic route is set up:

<Route path="users/:id" element={<SomeComponent />} />

Whenever I redirect to this route through a link like this:

<Link to={`../users/${some_id}`}>

or through navigate() like this:

navigate(`../users/${some_id}`)

I'm able to load the page just fine. But when I refresh that page, or when I type in the same url manually, I get a 404 error.

I'm wondering why that is.

For the backend, I'm using laravel, and I've set up a catch-all route like this:

Route::view('/{path?}', 'app');
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