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.

贡献者指南