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

226
Vistas
Best way to share an entire page (UI and logic) between react native repos?

I am working on two react-native repos at the moment, and they both share an entire navigation section, say blog. Things I need to consider:

  1. Both the apps will have almost the exact page/screen, so it would be beneficial to pull it out and share it across apps. Most of the changes to the page components would be required on both the apps, so this would reduce duplication and maintain consistency.
  2. If I consider the entire screen as a complex component and add it to the component library (both UI and logic), this would solve quite a few headaches.
  3. However, there is a chance of tiny changes on the screen that would be specific to a single app, and not show them on the other app.
  4. This might mean I would end up exposing props on this gigantic component and then letting it seep onto the child components. This could get messy.
  5. This also means I would then be dealing with a gigantic potentially inflexible component.

Considering all the pros and cons, I am not quite sure if this would be the right way to proceed. Is there a better way of tackling this problem? I could just have the same screen duplicated on both the apps, but this causes the headache of updating both the apps resulting in multiple app store releases.

Any suggestions would be really helpful. Thank you.

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