native-data-fetching

作者: expo

針對Expo應用程式的網路請求、API呼叫與資料擷取,包含快取、錯誤處理及離線支援。涵蓋fetch API、React Query、錯誤處理模式、使用expo-secure-store進行令牌管理,以及具備指數退避的重試邏輯。包含採用NetInfo與React Query持久化的離線優先策略,以及使用EXPO_PUBLIC_前綴的環境變數設定,用於客戶端URL。支援Expo Router資料載入器(useLoaderData),實現路由層級的資料載入...

npx skills add https://github.com/expo/skills --skill native-data-fetching

來自 expo 的更多技能

expo-observe
expo
Use for anything related to EAS Observe — adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive, the useObserve hook, the…
upgrading-expo
expo
結構化指引,協助升級 Expo SDK 版本並解決相依性衝突。提供逐步升級流程,包括診斷、清除快取,以及針對原生變更的預建工作流程。涵蓋 SDK 53–55 的重大變更,包含 React 19 遷移、新架構預設值、React Compiler 設定,以及原生模組更新(tabs、audio、video)。內含套件棄用地圖,例如 expo-av、expo-permissions 與 AsyncStorage,並提供替代建議...
expo-upgrade
expo
框架(開源)。升級 Expo SDK 版本與修復相依性問題的指南。
apidevelopmenttesting
expo-data-fetching
expo
Framework (OSS). Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (`useLoaderData`).
expo-ui-swift-ui
expo
`@expo/ui/swift-ui` package lets you use SwiftUI Views and modifiers in your app.
serve-sim
expo
控制並串流運行中的 iOS、iPad 或 Apple Watch 模擬器,使用 npx serve-sim。用於模擬器預覽、點擊、手勢、硬體按鈕、旋轉等。
serve-sim-placeholder-assets
expo
審核並更新 serve-sim 的 Device Hub 風格模擬器佔位資源,從本機 Xcode/CoreTypes 資源中取得。請在安裝新版 Xcode 或 macOS 後使用…
add-app-clip
expo
為Expo應用程式新增iOS App Clip目標。當使用者提及App Clip、AASA、apple-app-site-association、appclips、智慧型應用程式橫幅,或希望發佈…時使用。