MetaMask / metamask-docs

Developer documentation for MetaMask
https://docs.metamask.io
Apache License 2.0
636 stars 908 forks source link

Update React Tutorial (remove detect-metamask) #1299

Closed httpJunkie closed 1 month ago

httpJunkie commented 2 months ago

Description

We want to revamp the Tutorials #1 and #2, this PR is for the update of the first of those two tutorials Create a React dapp with local state. And the intention is to keep the same idea for bnoth tutorials with updates to the code and explanation using EIP-6963 instead of window.ethereum and @metamask/detect-provider.

I may add some links out to existing pages that speak on EIP-6963 from the tutorial rather than covering the topic as we already have docs "Wallet Interoperability" and "Detecting MetaMask" that we could create cross links to.

Issue(s) fixed

Tutorial instruction and code have been update, I still need to link to an updated GitHub Repo so that when this goes live the prior repo is not affected until then.

Fixes #

Preview

https://github.com/MetaMask/metamask-docs/assets/4899480/0790319f-03dd-4a8c-b18f-0059cddc2ccf

Checklist

Complete this checklist before merging your PR:

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

httpJunkie commented 2 months ago

This "React with local state" above is the final draft from @httpJunkie (Eric Bishard). We need to approve and wait and send the "React with global state tutorial" out at the same time together.

But we can still get this review approved and out of the way.

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 2 months ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 1 month ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 1 month ago

Preview published: update-react-tutorials-86-mm-detect

github-actions[bot] commented 1 month ago

Preview published: update-react-tutorials-86-mm-detect