Would you please provide more details about the use case you want to implement. Refer to the following link if your ask was only to create a form in React.js
For implementing it for the AEM forms also, it would follow the similar approach to create React SPA component in AEM. You only have to assign it under the similar component group name as "Adaptive Form" so that this component would be listed to drag drop on the forms.
@davidzhang form has not been tested with react components unlike AEM which has SPA support. There is something in pipe line to bring it closer to aem core component on Cloud, are you using on prem?