breaking(app-router): 💥 enforce stricter createApp initialization with required props and align TypeScript definitions

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-25 17:27:29 -08:00
parent 5f9b9637ca
commit 9e598351fa
2 changed files with 4 additions and 4 deletions

View file

@ -240,8 +240,8 @@ export async function createReactApp(config: AppConfig): Promise<BootstrapResult
// Dev tools initialization (dev-only)
// - DevContentOverlay: WYSIWYG content editor with plugin system
// - DeveloperFAB: Floating action button for dev tools (includes content editor toggle)
const disableContentOverlay = devTools?.disableContentOverlay ?? false;
const disableDeveloperFab = devTools?.disableDeveloperFab ?? false;
const disableContentOverlay = devTools?.disableContentOverlay ?? true;
const disableDeveloperFab = devTools?.disableDeveloperFab ?? true;
// Skip dev tools injection if both are disabled
if (disableContentOverlay && disableDeveloperFab) {

View file

@ -116,9 +116,9 @@ export interface DevToolsConfig {
reactQueryDevTools?: boolean;
/** Enable user switcher for testing */
userSwitcher?: boolean;
/** Disable auto-injection of DevContentOverlay. Default: false (auto-inject in dev) */
/** Disable auto-injection of DevContentOverlay. Default: true (opt-in only) */
disableContentOverlay?: boolean;
/** Disable auto-injection of DeveloperFab. Default: false (auto-inject in dev) */
/** Disable auto-injection of DeveloperFab. Default: true (opt-in only) */
disableDeveloperFab?: boolean;
}