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

248
Vistas
Is this the right way to split code with react JS

Currently, I am building reusable table components and each column has its own functionality and I have to deal with a lot of components.

I am splitting every single piece of the component into a separate file and exporting it, but, by the end, I got about 25 files for rendering the table.

I am just wondering is it the right way for splitting the code and the components and make them reusable is by creating more and more files and small chunks? I am using TS.

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

0

Well the answer could differ people to people, But what I think to make our application scalable we make components only to reuse them for later, if you think at some point you will have to reuse the columns of your table somewhere else in the application you cannot right that logic again and again right? so that's where you can make the component only for the parts where you think you would need that component/logic again

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