Im currently using React in my company for building our main Software product... The development of the app was started a year ago, and we don't expected that our app growed so much like it does. Now we are dealing with some kind of problems that could have been avoided if we had done a good architecture design from the beginning .
For summarize, one of the most central problems that we have is the code duplication... and the large amount of "import" statements with relative routes in the top of each new component that we make...
I would like to know if is recommended for solve this kind of problems use the Factory Pattern for reusing the React components and how to successfuly implement it?
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire