Skip to content

ui-extensions-tester: support explicit resource management (using keyword)#4114

Open
kumar303 wants to merge 1 commit into2026-04-rcfrom
03-16-ui-extensions-tester_support_explicit_resource_management_using_keyword_
Open

ui-extensions-tester: support explicit resource management (using keyword)#4114
kumar303 wants to merge 1 commit into2026-04-rcfrom
03-16-ui-extensions-tester_support_explicit_resource_management_using_keyword_

Conversation

@kumar303
Copy link
Contributor

@kumar303 kumar303 commented Mar 16, 2026

Support explicit resource management (using keyword) and prefer this as the library interface.

Notes

  • New setUpExtension function as the entry point
  • Caching: allow setUpExtension() to be called repeatedly
  • Backward compatibility: The existing getExtension function remains unchanged for runtimes that don't support Explicit Resource Management

🎩

Preview the README

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@github-actions
Copy link
Contributor

🚨🚨🚨 Docs migration in progress 🚨🚨🚨

We are actively migrating UI extension reference docs to MDX in the areas/platforms/shopify-dev zone of the monorepo. This impacts docs for the following surfaces:

During this migration, please be aware of the following:

.doc.ts files are being deprecated. Changes to .doc.ts files in this repo will not be reflected in the new MDX-based docs. If you need to update docs for a reference that has already been migrated, make your changes directly in the areas/platforms/shopify-dev zone of the monorepo instead.

Doc comments in .ts source files (the comment blocks above types and functions) are also affected. Generating docs from these comments currently requires a newer version of the @shopify/generate-docs library that isn't yet available. Updates to doc comments may not produce the expected output until the migration is complete.

Examples that previously lived in this repo are being moved to the areas/platforms/shopify-dev zone of the monorepo and should be authored there going forward.

What should I do?

  • If your PR includes changes to .doc.ts files, doc comments, or examples, please reach out to us in #devtools-proj-templated-refs so we can help ensure your updates are captured correctly.
  • If your PR is limited to source code changes (non-docs), you can ignore this notice.

Thanks for your patience while we complete the migration! 🙏

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@kumar303 kumar303 force-pushed the 03-16-ui-extensions-tester_support_explicit_resource_management_using_keyword_ branch 5 times, most recently from 3d6a007 to f1d7514 Compare March 16, 2026 14:20
@kumar303 kumar303 marked this pull request as ready for review March 16, 2026 14:30
@kumar303
Copy link
Contributor Author

/snapit

@shopify-github-actions-access
Copy link
Contributor

🫰✨ Thanks @kumar303! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@shopify/ui-extensions": "0.0.0-snapshot-20260316150650",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316150650"

@kumar303 kumar303 force-pushed the 03-16-ui-extensions-tester_support_explicit_resource_management_using_keyword_ branch from f1d7514 to d1775d0 Compare March 16, 2026 15:30
@kumar303
Copy link
Contributor Author

/snapit

@shopify-github-actions-access
Copy link
Contributor

🫰✨ Thanks @kumar303! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@shopify/ui-extensions": "0.0.0-snapshot-20260316153155",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316153155"

@kumar303 kumar303 force-pushed the 03-16-ui-extensions-tester_support_explicit_resource_management_using_keyword_ branch from d1775d0 to 22a296f Compare March 16, 2026 16:16
@kumar303
Copy link
Contributor Author

/snapit

@shopify-github-actions-access
Copy link
Contributor

🫰✨ Thanks @kumar303! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

"@shopify/ui-extensions": "0.0.0-snapshot-20260316161701",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316161701"

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.

1 participant