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

141
Vistas
How to synchronize button text of buttons under different tab in react?

I have a component with a button. The component is created in its parent component twice (under different tabs areas, same page). If the user clicks the button, the button text will change. I hope the button texts are always the same whatever button is clicked and changed. I have tried updating the state of the course component in click functions, so the text of the button can be changed based on the state condition. It doesn’t work. I guess the click function just updates the state of a component of one tab rather than another tab. Any way to implement the synchronization? Thanks!

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