Create React Best Practices Documentation
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Dokumentation
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- react
- Bereich
- documentation
Rechercherichtung
Beginne mit der Prüfung der bestehenden Muster für React-Komponenten, Context und Hooks in den Codebasen von Extension und Mobile und halte dabei veraltete sowie derzeit empfohlene Ansätze fest. Erstelle einen produktunabhängigen Entwurf zur Rückmeldung durch @MetaMask/extension-devs und @MetaMask/mobile-devs und bestätige anschließend, dass die gemeinsamen Praktiken genehmigt und ratifiziert sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The extension code base has several patterns of component structures in it, some of which are deprecated while others are the current promoted way of writing react components. The purpose of this document is to encapsulate all of our best practices such that a new contributor is not guessing on the appropriate way to build components (as well as how to do the other parts of React, such as contexts, hooks, etc).
This document is product agnostic and will need to have members of both @MetaMask/extension-devs and @MetaMask/mobile-devs weigh in on the final document to make sure that it properly reflects shared principles. The document that fulfills this ticket need not be a reflection of the current state of the products, either. If during discussion we agree upon a shared best practice across products but one product team has not yet implemented any instances of that best practice, that is fine. Documentation that is created in this repo is subject to change, approval and ratification of updates.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 86
- Forks
- 42
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MetaMask/contributor-docs
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
MetaMask/contributor-docs#164 ·
-
category-documentation github-migration-triaged team-wallet-framework wf-documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
MetaMask/contributor-docs#115 · 1 Kommentar ·
-
issueOffen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
MetaMask/contributor-docs#169 ·
-
team-core-platform
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
MetaMask/contributor-docs#157 · 1 Kommentar ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
MetaMask/contributor-docs#142 ·
Alle Issues in MetaMask/contributor-docs
Ähnliche Issues
-
factory-active factory-automatic harness/codex task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
vercel/ai#21582 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
ux
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
rr-djk/rr-djuikoo.com#53 ·
Maintainer antworten meist innerhalb von 1 Tag
-
new spec review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
w3c/browser-specs#2666 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
thim81/openapi-format#238 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
decentespresso/dye2#13 ·