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.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react-native, typescript
Domain
mobile

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.

Description

minor technical debt

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.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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.

More from RoboJackets/apiary-react-native

All issues in RoboJackets/apiary-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.