leboncoin/spark-android

[FR]: Add legacy-pattern callout in COMPONENT_CREATION_GUIDE.md

クローズ

#2,118 opened on 2026/07/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Kotlin (31 件のフォーク)auto 404
contribution welcomeddocumentationgood first issuepriority:MEDIUM

Repository metrics

Stars
 (85 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the problem

The guide documents the object-with-variant-methods pattern as the standard. Many existing components (Tags, Buttons) use per-variant top-level functions. Contributors studying existing code see a pattern the guide does not describe.

Describe the solution

Add a note near the architecture section stating that existing components may use a legacy pattern (per-variant top-level functions) and that new components should follow the object pattern.

Additional context

Priority: Medium. Effort: XS.

コントリビューターガイド