MetaMask / MetaMask/core

Add documentation on selectors

Open
#6,043 1 comment 0 reactions 0 assignees View on GitHub
github-migration-triaged team-wallet-framework wf-documentation
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

Creating selector functions to access parts of controller state is not something that we have been promoting actively. This is mainly due to the fact that we don't have documentation on this pattern. However, it's something we all teams should be aware of so that we can reduce the duplication between clients. We should add documentation on this.

This ticket depends on https://github.com/MetaMask/decisions/pull/32.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named in the issue. Start by reviewing the linked MetaMask decisions pull request and locating existing controller-state selector patterns in the repository; done means adding documentation that explains how teams should create and use selector functions to reduce duplicated client logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.