mikhael28/paretOS

Refactor: ContextPage component is very long and could benefit from some refactoring

開放

#156 建立於 2022年3月29日

 (18 則留言) (0 個反應) (1 位負責人)JavaScript (45 個分叉)auto 404
Reactgood first issuerefactoringup for grabs

倉庫指標

星標
 (35 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南