MetaMask / MetaMask/metamask-mobile

Convert SignatureRequest into functional component

Open
#5,565 1 comment 0 reactions 0 assignees View on GitHub
area-signatures team-confirmations-planning type-pinned type-tech-debt
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### **Description**

Convert SignatureRequest into functional component:

https://github.com/MetaMask/metamask-mobile/blob/18dc20b8cc9f3f0707f5eb04f2ac88ee320c93bb/app/components/UI/SignatureRequest/index.js

### **Acceptance Criteria**
- Signature request functionality continues to work as it is currently
- Use of deprecated react api is removed

### **References**
https://docs.google.com/document/d/19xKY4e07UThOa1jsDQA8pjsNLUBRn39EdUbaFpz3OR0/edit?usp=sharing

Contributor guide

Open the contributing guide

Research direction

Start by reading app/components/UI/SignatureRequest/index.js and identify the current SignatureRequest implementation and its deprecated React API usage. Convert it to a functional component while preserving the existing signature request functionality; done means the acceptance criteria are met and no deprecated React API remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.