Show HN: ReactNative.run – Browser Metro bundler that runs React Native
3 days ago
- #Browser Bundler
- #React Native
- #Web Development
- browser-metro is a Metro-like bundler for the browser that allows running React Native apps directly in the browser.
- It offers full Hot Module Replacement (HMR) with React Refresh, Expo Router for file-based routing, and support for any npm package via an on-demand ESM server.
- The tool is client-side, running in a Web Worker, requiring zero setup with no CLI, Xcode, or Android Studio.
- It includes features like API routes that run in-browser via fetch interception and dynamic route addition through HMR.
- Compared to alternatives like Expo Snack and CodeSandbox, reactnative.run offers client-side bundling, any npm package support, and is open-source under MIT license.
- Currently, it only supports web preview via react-native-web, with native device preview planned for the future.
- It is not an official React Native project and can be self-hosted on personal infrastructure.