MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / isPlaceholderActive

Function isPlaceholderActive

packages/vite/hmr/client/index.ts:292–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290
291// Detect whether the early placeholder root is still active on screen
292function isPlaceholderActive(): boolean {
293 try {
294 const g: any = globalThis as any;
295 if (g.__NS_DEV_PLACEHOLDER_ROOT_VIEW__) return true;
296 if (g.__NS_DEV_PLACEHOLDER_ROOT_EARLY__) return true;
297 } catch {}
298 return false;
299}
300
301// Navigation queue removed: we navigate immediately or throw with a clear error
302// Robust navigation fallback: create a sub-app and mount it on a new Page, then navigate there.

Callers 1

applyFullGraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected