I am trying build a web scraping app using Reactjs. I used nightmare.js in normal JS and I did get the desired output. But when I tried adding in a button and creating functions it did not work well.
I now thought of going straight with ReactJS because that is what I want to end up doing eventually.
Can someone give a tiny example code of using nightmare.js or Casper.js inside ReactJS in the jsx format or any TIPS or Pointers. I know this may sound silly or simple, appreciate any help. I basically want it to kick in when I run node server.js. I can later add in buttons , css , etc .