Check out example codes for "html hidden". It will help you in understanding the concepts better.

Code Example 1

 <input type="hidden" id="custId" name="custId" 
  value="3487">

Code Example 2

<input type="hidden" id="custId" name="custId" value="3487">

Code Example 3

<!-- stops an element from rendering, but still loads it to memory-->
<p>this will show</p>
<p hidden>Thill will not show</p>

Learn ReactJs, React Native from akashmittal.com