Code Refactoring and Reduce Redundancy in several files
prajwal714 opened this issue Β· comments
Make separate stateless/stateful function modules for frequently used React components. Separate JS file for validation function, also unified naming conventions of all the CSS files imported.
Components/Create/addPaths.js
Components/EditPath/editPath.js
etc
I can work on this ....
I have some doubts -
- All the links also need to be changed, as the location of .js files and naming convention of .css files changes ?
- I can't understand the last point of changing naming conventions ?
@vngarg The same css file is imported with different names, userStyles, styles etc in different js components. Unify them to a single name.
@vngarg The same css file is imported with different names, userStyles, styles etc in different js components. Unify them to a single name.
ok ..
Do I have to change the links also ?
Yes. Change the links too, make sure to find redundancy in other files too.