Check out example codes for "how to show a splash screen html page only once". It will help you in understanding the concepts better.
Code Example 1
.home-page {
display: none;
}
$(document).ready(function(){
if (sessionStorage.getItem('splash') !== 'true') {
$('.splash_section').show();
sessionStorage.setItem('splash','true');
}
else {
$('.home-page').fadeIn();
}
});
Learn ReactJs, React Native from akashmittal.com