RoboJackets / RoboJackets/apiary-react-native

BuzzCardPrompt and NfcScanModal use old ReactJS pattern

Open Beginner friendly
#44 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.