diff --git a/.changeset/gentle-bats-burn.md b/.changeset/gentle-bats-burn.md
new file mode 100644
index 000000000..b966af18e
--- /dev/null
+++ b/.changeset/gentle-bats-burn.md
@@ -0,0 +1,5 @@
+---
+'@quilted/create': patch
+---
+
+Update browser global definitions in app template
diff --git a/packages/create/templates/app-basic/browser.tsx b/packages/create/templates/app-basic/browser.tsx
index c5c484971..1d4e33709 100644
--- a/packages/create/templates/app-basic/browser.tsx
+++ b/packages/create/templates/app-basic/browser.tsx
@@ -10,6 +10,10 @@ const context = {
} satisfies AppContext;
// Makes key parts of the app available in the browser console
-Object.assign(globalThis, {app: context});
+Object.defineProperty(globalThis, 'app', {
+ value: {context},
+ enumerable: false,
+ configurable: true,
+});
hydrate();
diff --git a/packages/create/templates/app-graphql/browser.tsx b/packages/create/templates/app-graphql/browser.tsx
index ec9f43fbd..b9cad8f24 100644
--- a/packages/create/templates/app-graphql/browser.tsx
+++ b/packages/create/templates/app-graphql/browser.tsx
@@ -20,6 +20,10 @@ const context = {
} satisfies AppContext;
// Makes key parts of the app available in the browser console
-Object.assign(globalThis, {app: context});
+Object.defineProperty(globalThis, 'app', {
+ value: {context},
+ enumerable: false,
+ configurable: true,
+});
hydrate();
diff --git a/packages/create/templates/app-trpc/browser.tsx b/packages/create/templates/app-trpc/browser.tsx
index 32c74a2ab..01f5c25f6 100644
--- a/packages/create/templates/app-trpc/browser.tsx
+++ b/packages/create/templates/app-trpc/browser.tsx
@@ -23,6 +23,10 @@ const context = {
} satisfies AppContext;
// Makes key parts of the app available in the browser console
-Object.assign(globalThis, {app: context});
+Object.defineProperty(globalThis, 'app', {
+ value: {context},
+ enumerable: false,
+ configurable: true,
+});
hydrate();