Will seperating concerns i.e. modularized coding will have an performance hit?

I got an React app from the client. This app contains one index.jsx.
90% of coding done here.
So, I separated some modules Eg. Moved MODAL to a separate folder and some components.

This is what I done. I’m new to React.

Will these affect the performance? If yes please explain why.

6 thoughts on “Will seperating concerns i.e. modularized coding will have an performance hit?”

  1. I doubt moving stuff around will improve the perfomance of the software. But, definitely, having tidy code and a tidy project will improve YOUR performance while working/coding.

    Reply
  2. No, this will not affect performance in any noticeable way, and in some cases can actually improve it. However, as one commenter pointed out, this question is very broad and you would need to get a little more specific with use-cases.

    Reply

Leave a Comment