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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -