docs: clarify legacy Functions API in Snaps quickstart#2980
Open
Root-Aamir wants to merge 1 commit into
Open
Conversation
|
@Root-Aamir is attempting to deploy a commit to the Consensys Team on Vercel. A member of the Team first needs to authorize it. |
Nonthawat100iQ
approved these changes
Jul 10, 2026
Nonthawat100iQ
left a comment
There was a problem hiding this comment.
0x8B8E68D5C61D4d31297c9984f571ADB79f4aE473
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a short note to the Snaps quickstart page clarifying that the Functions tab uses the legacy/deprecated Functions-based UI API (
panel()andtext()from@metamask/snaps-sdk).This also clarifies that JSX is recommended for new Snaps, while the Functions API is maintained for legacy examples.
Issue(s) fixed
Fixes #2894
Preview
Updated page:
https://docs.metamask.io/snaps/get-started/quickstart/
Checklist
Note
Low Risk
Documentation-only change with no runtime or security impact.
Overview
Adds a Docusaurus
:::noteabove the Functions tab sample in the Snaps quickstart so readers know that tab documents the legacypanel()/text()UI API from@metamask/snaps-sdk, that JSX is the path for new Snaps, and that the Functions API remains only for legacy examples.Reviewed by Cursor Bugbot for commit 6082c77. Bugbot is set up for automated code reviews on this repo. Configure here.