mikhael28/paretOS
Refactor: ContextPage component is very long and could benefit from some refactoring
Open
#156 opened on Mar 29, 2022
Reactgood first issuerefactoringup for grabs
Repository metrics
- Stars
- (35 stars)
- PR merge metrics
- (PR metrics pending)
Description
Description
The component context/ContextPage.js clocks in at a whopping 569 lines of code! Looking through, a good amount of it appears to be repetitive code that could be refactored.
Goals
- Reduce the total lines of code
- Reduce the amount of repetitive code
- Improve code efficiency and readability
- Simplify state management for states that are always all updated at the same time
- Add comments as necessary to help orient new contributors navigating the file for the first time.