Check out example codes for "Form submission canceled because the form is not connected". It will help you in understanding the concepts better.

Code Example 1

<button type="submit">Submit</button>
 <button type="button">Other</button>

Learn ReactJs, React Native from akashmittal.com