fnplus / footsteps-app

A search πŸ”Ž engine of experts-led learning paths. Learn by following the footsteps (journey) of experts. πŸ‘¨β€πŸ’»πŸ‘©β€πŸ’»

Home Page:https://www.footsteps.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

commented

I can work on this ....
I have some doubts -

  1. All the links also need to be changed, as the location of .js files and naming convention of .css files changes ?
  2. 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.

commented

@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.