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

170
Vistas
React Native Web with Expo - Changing font of all text through the entire app without new Text component

I'm working on an app that I need to change all the fonts of all the text of the app to a specific google font. Creating a custom Text component is not viable, I have it working on iOs and I have this script for web:

document.querySelectorAll('*').forEach(e => e.style.fontFamily = 'Nunito_400Regular');

This works if I run it in the console of the web app of my app thats being hosted with expo. However, if I place this in the useEffect of my topmost component, it doesn't seem to do anything. Does anyone have any way to do this without a third party module?

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