How do you get and submit a webform in React? I am planning to build a Drupal 8 site fully decoupled using Gatsby (a site generator for React). So I will use Drupal only to structure (content types, paragraphs), enter and update all the content and data and use React for the frontend.

The website also needs a (simple) form. I want to use the webform module for this. 

But how do you get a Drupal form in React and after submitting send all completed fields to the database?
Whenever I ask for a module it gets closed. You got lucky, I guess?

It seems https://www.drupal.org/project/react_webform_backend together with https://github.com/oikeuttaelaimille/gatsby-drupal-webform provides a solution for React/Gatsby. Note:


  This module only provides basic components (textfield, number, textarea etc.) out of the box. More advanced webform components or composite components should be built as custom components. 


And then there's an example.