RoboJackets / RoboJackets/apiary-react-native
BuzzCardPrompt and NfcScanModal use old ReactJS pattern
Open
Beginner friendly
Nobody has claimed this yet.
minor
technical debt
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
BuzzCardPrompt defined as a React.FC rather than a function that returns child of React.FC, as the rest of the codebase does.
NfcScanModal is similarly written.
Contributor guide
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
Locate the BuzzCardPrompt and NfcScanModal component definitions and compare them with the other components in the codebase. Update both to follow the stated function-and-child-of-React.FC pattern, then verify the app still type-checks and the components render correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100