Sahilll94/Travel-Book

Create `src/utils` Directory for Common Helper Functions

开放

#91 创建于 2026年1月23日

 (4 条评论) (0 个反应) (0 位负责人)JavaScript (46 个派生)auto 404
documentationgood first issue

仓库指标

星标
 (9 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Documentation Type

README file

Current Issue

As the project matures, common helper functions for tasks like date formatting, input validation, or data manipulation tend to be duplicated or scattered across various component files. Creating a dedicated src/utils directory to house these reusable functions will significantly improve code organization, reduce redundancy, and make it easier to find and maintain shared logic. This also makes functions more testable in isolation.

Proposed Improvement

Creating a dedicated src/utils directory to house these reusable functions will significantly improve code organization, reduce redundancy, and make it easier to find and maintain shared logic. This also makes functions more testable in isolation.

Affected Sections

No response

Target Audience

New contributors

Additional Context

Hey @Sahilll94, I would liked to be assigned to this task. I have read code of conduct, I am under ECWoC 26

Implementation

  • I can write the documentation changes myself
  • I can provide review and feedback
  • I prefer to let others handle the implementation

Confirmation

  • I have checked that this improvement isn't already covered elsewhere
  • I have searched for existing documentation issues before creating this one

贡献者指南