Check out example codes for "how to make form not reload page". It will help you in understanding the concepts better.

Code Example 1

<form onsubmit="return false">
</form>

Learn ReactJs, React Native from akashmittal.com