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

506
Views
View config getter callback for component `div` must be a function

I'm new to React-Native and I'm trying to run the following code, however I keep getting this error:

Invariant Violation: View config getter callback for component div must be a function (received undefined). Make sure to start component names with a capital letter.

export default function App() {

  console.log("this is a first run");
  
  return (
    <SafeAreaView style={styles.container}>
      <Text>This is my first app</Text>
      <TouchableOpacity onPress={() => console.log("HEYY")}>
        <Image 
          source={{
          width:200, 
          height:200,
          uri: "https://picsum.photos/seed/picsum/200/300",
          }}
        />
      </TouchableOpacity>
    </SafeAreaView>
  );
}

Thanks for the help (:

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!