rhventures / rhventures/react-native-dropdown-selector

Refactor: Reduce code duplication in Select and MultiSelect

Open
#39 0 comments 1 reaction 0 assignees View on GitHub

@ian-zyh is already working on this.

Since Jun 11, 2025.

  • #121 by @ian-zyh — open
refactor
Dominant language
TypeScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Select and MultiSelect components currently have very similar code in some places. It would greatly reduce maintenance costs (time and effort) if the code can be a bit generalized and extracted into something reusable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Select and MultiSelect components to identify the duplicated areas and determine an appropriate reusable abstraction. Done means the shared code reduces duplication while both components retain their existing behavior; an open pull request is already linked to this issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.