mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-07 17:34:23 +00:00
b70a529656
* feat: add developer-mode startup and stack hydration timing Instrument boot-to-list and detail hydration with commit-aligned milestones, truthful request stages, and destination/gateway debug duration logs so performance work is guided by measurements. * fix: redact stack names and complete hydration request stages Stop logging stack identifiers in containers debug timing, and record state_dispatch (plus detail fetch spans) so copied reports match the advertised stage breakdown.
22 lines
633 B
TypeScript
22 lines
633 B
TypeScript
// Side-effect import first so the timing store records boot_start at the
|
|
// earliest possible point, before React mounts.
|
|
import '@/lib/hydrationTiming'
|
|
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import './index.css'
|
|
import App from './App.tsx'
|
|
import ErrorBoundary from './components/ErrorBoundary.tsx'
|
|
import { initializeDensity } from './hooks/use-density'
|
|
import { initializeTheme } from './hooks/use-theme'
|
|
|
|
initializeDensity()
|
|
initializeTheme()
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<ErrorBoundary>
|
|
<App />
|
|
</ErrorBoundary>
|
|
</StrictMode>,
|
|
)
|