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

88
Vistas
routing to multiple component using same route but different path

my application has a dropdown menu that has a list of tools and I want to redirect the user to the particular chosen tool but I don't what to create different routes for different tools cause this will be a tedious process and my routing component file will also be unimaginable longer.

do react have some way of connecting <Link/> with the <Route /> via which I can redirect a user to different components depending upon the tool that a client choose but same route.

finally, a way of passing data from the Link to the route which can be utilized to specify the component name.

down below I have specified the path that I am using.

<Route path="/webenv/:webenv/tools/:tool" component={tool} />

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