rhventures / rhventures/react-native-dropdown-selector
Refactor: Reduce code duplication in Select and MultiSelect
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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