Version: v0.1 (MVP)
This extension provides a React Native UI preview inside VS Code using Expo + React Native Web.
It is designed for AI-first (Codex) bio-coding workflows:
- Humans judge UI
- Codex edits code
- The extension only previews and reloads
CLI usage and native emulators are intentionally excluded.
- Render React Native UI via React Native Web
- Display inside VS Code Webview using iframe
- Target URL: Expo Web Dev Server (default: http://localhost:19006)
- Use Metro / Expo Fast Refresh
- Reflect file changes in near real-time (< 1s)
- Start Metro automatically if not running
- Restart Metro via VS Code command
- Do not manage dependencies
- Open Preview
- Reload Preview
- Restart Metro
rnPreview.previewUrl(default:http://localhost:19006) controls the iframe target for the preview webview.
- No code parsing
- No AST analysis
- No code generation
- The extension never edits user code
- Native emulators (Android / iOS)
- Build, archive, or store submission
- Dependency installation
- State management integration
- Flutter support
- Expo-based React Native project
- react-native-web enabled
- Metro bundler available via
npx expo start --web
VS Code Extension ├─ Webview (iframe) │ └─ Expo Web Preview └─ Metro Process (child_process)
The extension is intentionally dumb. All intelligence belongs to Codex.
- Low-code / no-code editor
- Design tool replacement
- Perfect platform fidelity
- Preview opens inside VS Code
- Hot reload works on save
- Metro can be restarted from Command Palette