Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda