Skip to content

docs: clarify deprecated Snap Functions API - #3012

Open
Serjik-Developer wants to merge 1 commit into
MetaMask:mainfrom
Serjik-Developer:codex/clarify-deprecated-functions-api
Open

docs: clarify deprecated Snap Functions API#3012
Serjik-Developer wants to merge 1 commit into
MetaMask:mainfrom
Serjik-Developer:codex/clarify-deprecated-functions-api

Conversation

@Serjik-Developer

@Serjik-Developer Serjik-Developer commented Aug 6, 2026

Copy link
Copy Markdown

Fixes #2894.

The Functions tab in the Snaps quickstart is marked deprecated, but the example did not explain what that means. Add a warning that JSX is recommended for new Snaps and that the function-based API is retained for legacy projects.

Verification: npm run build succeeds. The existing build emits unrelated dependency and Sass deprecation warnings.


Note

Low Risk
Documentation-only change with no runtime or API impact.

Overview
Adds a warning admonition at the top of the deprecated Functions tab in the Snaps quickstart so readers know the function-based custom UI API is deprecated, JSX is the path for new Snaps, and the tab remains for legacy examples only.

This aligns with issue #2894, where the tab was already marked deprecated but lacked an in-page explanation.

Reviewed by Cursor Bugbot for commit 8b7705d. Bugbot is set up for automated code reviews on this repo. Configure here.

@Serjik-Developer
Serjik-Developer requested review from a team as code owners August 6, 2026 14:20
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quickstart page doesn't clarify that the Functions tab uses a deprecated API

1 participant