ui-extensions-tester: support explicit resource management#4114
Conversation
🚨🚨🚨 Docs migration in progress 🚨🚨🚨We are actively migrating UI extension reference docs to MDX in the
During this migration, please be aware of the following:
Doc comments in Examples that previously lived in this repo are being moved to the What should I do?
Thanks for your patience while we complete the migration! 🙏 |
3d6a007 to
f1d7514
Compare
|
/snapit |
|
🫰✨ Thanks @kumar303! Your snapshots have been published to npm. Test the snapshots by updating your "@shopify/ui-extensions": "0.0.0-snapshot-20260316150650",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316150650" |
f1d7514 to
d1775d0
Compare
|
/snapit |
|
🫰✨ Thanks @kumar303! Your snapshots have been published to npm. Test the snapshots by updating your "@shopify/ui-extensions": "0.0.0-snapshot-20260316153155",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316153155" |
d1775d0 to
22a296f
Compare
|
/snapit |
|
🫰✨ Thanks @kumar303! Your snapshots have been published to npm. Test the snapshots by updating your "@shopify/ui-extensions": "0.0.0-snapshot-20260316161701",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260316161701" |
22a296f to
abb17f3
Compare
can you elaborate on this a bit? Wouldn't you want a new one to be created every time you call |
abb17f3 to
7ffd0cb
Compare
31559b4 to
48d0c19
Compare
@robin-drexler The only thing cached is the extension object itself which looks for and parses the TOML file on construction. As for surprises, yes, you just made me realize tests that run in watch mode won't pick up changes made to the TOML file. I just fixed that. I can't think of any other surprises. |
48d0c19 to
9556ec6
Compare

Support explicit resource management (
usingkeyword) and prefer this as the library interface.Notes
setUpExtensionfunction as the entry pointsetUpExtension()to be called repeatedlygetExtensionfunction remains unchanged for runtimes that don't support Explicit Resource Management🎩
📄 Preview the README
Using the snapshot packages (below), I verified I could create a test suite via
using. This required some build fixes 👍Checklist