How would one normally go about sending a form from within a ReactJS single page application? I would normally just use POST and send it via php, but now that I am using a single page application I am not quite sure how I could accomplish the same thing. I just want to send a simple email with the contents of that form, that's it.
I have a shared hosting account with php, so i would like to use that and not buy a nodejs server on top of that.
A general, common approach would suffice as an answer.