Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

508
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda