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

265
Vistas
Is it possible to overwrite a static JSON file during runtime after getting the updated JSON from a GET request?

My React Native project has a static JSON file from which I access some properties and I am wondering if it is possible to overwrite that JSON during runtime. Lets say I have a button that makes a GET request for an updated version of that JSON, would it be possible to overwrite that JSON file with the result of my GET request?

I imagine I'd need some sort of React Native filesystem dependency

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

you can use a state where you put your JSON data, which get updated every time you make a GET request, which is gonna overite the previous state(data) Edit : you can use a caching system with RFNS, we have done that in our app and it works perfectly, you just need to know how to use react-native-fs package.

about 4 years ago · Juan Pablo Isaza Denunciar

0

Yes, head over to RNFS documentation

about 4 years ago · Juan Pablo Isaza Denunciar
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