Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!