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

321
Views
¿Cómo cargar imágenes de caché antes de iniciar la aplicación en Expo React Native?

Creé un componente para cargar fuentes antes de la aplicación, quiero que el mismo componente cargue algunas imágenes antes de iniciar también. ¿Cómo puedo hacer eso? aquí está mi código:

 import { FontAwesome } from '@expo/vector-icons'; import * as Font from 'expo-font'; import * as SplashScreen from 'expo-splash-screen'; import * as React from 'react'; export default function Cache() { const [isLoadingComplete, setLoadingComplete] = React.useState(false); React.useEffect(() => { async function loadResourcesAndDataAsync() { try { SplashScreen.preventAutoHideAsync(); await Font.loadAsync({ TajawalLight: require('../../assets/fonts/Tajawal-Light.ttf'), }); } catch (e) { console.warn(e); } finally { setLoadingComplete(true); SplashScreen.hideAsync(); } } loadResourcesAndDataAsync(); }, []); return isLoadingComplete; }
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!