Form submission issue in Stateful ReactJS

So I have been trying to post form submissions in a stateful react form but after deploying the site and submitting a form It throws the error ‘POST 404’ in the console.
Below is my code.

@abysssick The relevant support guide is here:

There’s one very important part when you’re dealing with forms being generataed by JavaScript, you need to ensure that you have a HTML version of the form that Netlify can detect as part of the build process.

That may not be your ultimate issue, but I just wanted to point it out, as I find people can miss it within the support guide.

1 Like

Thank you, sir. It works!

glad to hear you found your solution!