Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

171
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda