expo-observe
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEAS Observe
EAS Observe
EAS Observe tracks startup, navigation, and custom-event performance from production Expo apps.
Source of truth: https://docs.expo.dev/eas/observe/ — always consult the canonical docs when API details matter, especially get-started, configuration, integrations, and the metrics reference. EAS Observe is evolving; this skill's references are written to stay accurate but may lag the docs.
EAS Observe 用于追踪生产环境中Expo应用的启动、导航及自定义事件性能。
权威来源: https://docs.expo.dev/eas/observe/ — 当涉及API细节时,请务必参考官方文档,尤其是入门指南、配置、集成以及指标参考部分。EAS Observe 处于持续演进中,本技能的参考内容会尽量保持准确,但可能会滞后于官方文档。
Which reference to read
参考文档选择
The three reference files in cover the three things people typically need this skill for:
./references/- Adding EAS Observe to a project → . Install, wrap the root layout (
./references/setup.mdon SDK 55,AppMetricsRooton SDK 56+), callObserveRoot(global on SDK 55, via themarkInteractive()hook on SDK 56+), and optional per-route navigation metrics through the Expo Router / React Navigation integrations.useObserve() - Querying metrics from the terminal → . The five
./references/queries.mdcommands —eas observe:*,metrics-summary,metrics,routes,events— with flags, table layouts, JSON shapes, and common workflows.versions - Reading a dashboard or CLI output → . Target thresholds per metric, what the TTI
./references/metrics.mdparams mean, and diagnostic patterns for telling slow-but-smooth startup apart from main-thread contention or hard blocks.frameRate.*
./references/- 在项目中添加EAS Observe → 。包括安装、包裹根布局(SDK 55版本使用
./references/setup.md,SDK 56+版本使用AppMetricsRoot)、调用ObserveRoot方法(SDK 55版本为全局方法,SDK 56+版本通过markInteractive()钩子调用),以及可选的、通过Expo Router / React Navigation集成实现的路由级导航指标。useObserve() - 通过终端查询指标 → 。涵盖五个
./references/queries.md命令——eas observe:*、metrics-summary、metrics、routes、events,包括命令参数、表格布局、JSON结构及常见工作流程。versions - 解读仪表盘或CLI输出 → 。包括各指标的目标阈值、TTI
./references/metrics.md参数的含义,以及区分“缓慢但流畅的启动”与“主线程阻塞”或“硬卡顿”的诊断模式。frameRate.*
Quick links to the docs
官方文档快速链接
- Get started: https://docs.expo.dev/eas/observe/get-started/
- Dashboard guide: https://docs.expo.dev/eas/observe/dashboard/
- Metrics reference: https://docs.expo.dev/eas/observe/reference/metrics/
- Expo Router integration: https://docs.expo.dev/eas/observe/integrations/expo-router/
- React Navigation integration: https://docs.expo.dev/eas/observe/integrations/react-navigation/
- Configuration: https://docs.expo.dev/eas/observe/configuration/
- 入门指南:https://docs.expo.dev/eas/observe/get-started/
- 仪表盘指南:https://docs.expo.dev/eas/observe/dashboard/
- 指标参考:https://docs.expo.dev/eas/observe/reference/metrics/
- Expo Router集成:https://docs.expo.dev/eas/observe/integrations/expo-router/
- React Navigation集成:https://docs.expo.dev/eas/observe/integrations/react-navigation/
- 配置说明:https://docs.expo.dev/eas/observe/configuration/