JavaScript for WordPress Forums Bugs & Issues Gatsby Contact Form Handler Reply To: Gatsby Contact Form Handler


Thanks Zac. For now I added form-handler.php to a /static directory. Given that files in the /static directory are compiled into the /public root, it was a good solution for the time being. The form-action posts to the form-handler.php and all works great. I am interested is doing this in a way that is more along the lines of what “should” be protocol for react.js. But then, I’m constantly adapting.