Import AITURK IDE 1.0.0-beta.1 from Hermes 63279301; preserve MIT license
This commit is contained in:
commit
03634b1ca3
11340 files changed
+3442369
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// Dev-only diagnostics entry. Statically imported from `main.tsx` ABOVE the
|
||||
// `react-dom` import — that ordering is load-bearing and non-negotiable.
|
||||
//
|
||||
// react-dom captures the devtools hook at MODULE INIT, not at `createRoot`.
|
||||
// Verified: installing bippy after react-dom has evaluated yields
|
||||
// `renderers=0` and `commits=0` — the hook object exists but react-dom never
|
||||
// registered with it. A dynamic `import()` here would resolve a microtask
|
||||
// after main.tsx's static graph (react-dom included) had already evaluated,
|
||||
// so it must be a plain static import chain, whose evaluation order ESM
|
||||
// guarantees.
|
||||
//
|
||||
// Production builds don't tree-shake this away (a static side-effect import
|
||||
// can't be eliminated) — instead `vite.config.ts` aliases this module to
|
||||
// `dev-only.noop.ts` whenever the build isn't serving dev, so neither bippy
|
||||
// nor the counters reach a shipped renderer.
|
||||
|
||||
import './index'
|
||||
|
||||
export {}
|
||||
Reference in new issue
Block a user