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

246
Views
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 answers
Answer question

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 Report
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!