reactjs - How to retrieve a react element from a dom element -
the question here not is idea or not, because there real use-case : i'm scraping specific website headless browser internal service , need extract data react.
from active production application, retrieve props root component using "pure" javascript. thing got div right now.
the constraints are:
- it must done using pure javascript (or using standard react lib)
- i cannot add/setup react-devtools extensions or things that
so far hack event handler trigger manage enter react context i'm looking cleaner alternatives, ideas?
Comments
Post a Comment