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

178
Vistas
Access React component props from vanilla JS

I have a Chrome Extension that is active on a React-based website that I do not control. This site has elements that are rendered as plain HTML with no identifying properties in what I can inspect, but when clicked they load specific items by their ID.

I have the React Developer Tools Chrome Extension installed also, and here I can dig into that Component and see the props and hooks for it, including an "id" and other values in the props.

Is it possible to access these React props from outside of React, using plain Javascript, like via a querySelector element reference? I have never built anything with React, so the framework is still a bit fuzzy for me in terms of how it all works and how something like that could be accessed.

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