I am beginner in react native so may be my question seems silly to all experts.
but I am struggling with a basic feature that i want to implement that i want to start my
You may try this example.There is no need stacknavigator in splash screen.
constructor(props){
super(props);
this.state = {
timePassed: false,
};
}
componentDidMount() {
setTimeout( () => {
this.setTimePassed();
},1000);
}
setTimePassed() {
this.setState({timePassed: true});
}
render() {
if (!this.state.timePassed) {
return ;
} else {
return ;
}
}