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

Code Example 1

<!--Place inside <head> -->
<meta http-equiv="refresh" content="30">
<!-- The http-equiv attribute provides an HTTP header for the information/value 
     of the content attribute. The http-equiv attribute can be used to simulate 
     an HTTP response header
     The content attribute gives the value associated with the 
     http-equiv or name attribute. -->

Learn ReactJs, React Native from