I am working on integrating paytm payment service in reactjs , I am having a request from html file in nodejs I want to submit the form from react, like in react native we have an option like "WebView" so that by using the build in property "injectedJavaScript" we are able to submit the form by using the form name in nodejs.
Example (in react native):
<WebView
source={{uri: ""}}
injectedJavaScript={`document.form-name.submit()`}
/>
As we see in the above code, that can be done in react native using WebView, so I want to know do I have anything like the same in react js ? Hope you got my question