Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
React Native Navigation Login

I made a login page in react-native, and I am running my code inside a class React.Component. I want to navigate to my Home Page after validating the username and password input of the user.

Here is where I want to code my navigation:

render(){
    if(this.state.isLoading == false){
        var newPassword = this.state.dataSource.map((val) => {
            if(this.state.username === val.username && this.state.password === val.password){
                return(
                    <View key={val.id} style={styles.container}>
                        <Text>Login success!</Text>
                    </View>
                )
            }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!