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

169
Views
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
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!