Loading video...

Video Failed to Load

Go Home

Introducing 🚨 (open-source) The fastest way to run React Native / Expo apps in the browser. Metro bundler mapped to the web with HMR, Expo Router, assets, source maps! Go and try it now!

27,926 views • 7 months ago •via X (Twitter)

40 Comments

Liam's profile picture
Liam7 months ago

Really nice! Could this be used as a preview tool for docs? That's one thing react native really struggles with is have live previews of components in docs. Basically if expo snack doesn't work then you have to use screenshots or recordings...

Sanket Sahu's profile picture
Sanket Sahu7 months ago

@_liamandr Yes! We can open up APIs

Sanket Sahu's profile picture
Sanket Sahu7 months ago

It bundles and runs completely on phones too! The intention is to give an environment to build mobile apps from anywhere. This would probably at some point merge with lifo (the linux-like sandbox that I built for the browser / node env).

Sanket Sahu's profile picture
Sanket Sahu7 months ago

Expo Snack has existed for years and we all love it! reactnative-run extends it with expo-router, hmr, assets, API routes, source map!

Sanket Sahu's profile picture
Sanket Sahu7 months ago

Star us on github, would help this project grow!

brent's profile picture
brent7 months ago

ooh this is very cool, nice work!

Sanket Sahu's profile picture
Sanket Sahu7 months ago

thanks Brent :)

Meddy 📎's profile picture
Meddy 📎7 months ago

Cool

Bree's profile picture
Bree7 months ago

I will definitely check this out

Ofentse Nglazi's profile picture
Ofentse Nglazi7 months ago

This is fantastic man, I have been looking for something like this for a long time. Thank you

Sanket Sahu's profile picture
Sanket Sahu7 months ago

that makes me feel good :)

Sean C's profile picture
Sean C7 months ago

Do the pages then simply render as Expo-web?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

Yes! It is very close to expo's web rendering

blakeinu0's profile picture
blakeinu07 months ago

hey dude cool stuff! could i make a $lifo fan token for you and redirect money to ur github for you to claim? it'll be a community crowd-funding you money to help support/fund your project and any costs you might have have to cover.

Sanket Sahu's profile picture
Sanket Sahu7 months ago

@kingslayer067 I have no idea how that works, appreciate it! Have a lot of dms on this idea

blakeinu0's profile picture
blakeinu07 months ago

sure man check dms

Fade's profile picture
Fade7 months ago

Awesome stuff Sanket! Can I send a donation to the github? Think this is awesome bro!

Sanket Sahu's profile picture
Sanket Sahu7 months ago

@0xJuicy__ Appreciate it, we don't have github sponsors open yet!

Fade's profile picture
Fade7 months ago

you dont need to actually set that up! i can just send it directly to ur github thru a pf and u can claim it :) lmk!!

Adelodun Peter's profile picture
Adelodun Peter7 months ago

Damn, this is good Why not just make it so desktop app so react native devs can do away with android studio and maybe not use expo go

Sanket Sahu's profile picture
Sanket Sahu7 months ago

This is expo go like app in the browser. So nothing different than running expo cli but all that happens inside browser.

Adelodun Peter's profile picture
Adelodun Peter7 months ago

I know that, what I am mean is making it a desktop app would enable me to go away with expo go and to run and preview the app directly something I have been needing for a while now

PaRoxUs's profile picture
PaRoxUs7 months ago

What’s the cons of this. You build a RN app and then make it a web app. I guess it can be pretty awesome for the mobile view of a site. But are there any other benefits?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

People have been using React Native on the web for years, Uber was among the early adopters. Expo web is widely adopted too! reactnative-run is slightly different, it runs the dev env of expo apps in the browser, not just the built version!

PaRoxUs's profile picture
PaRoxUs7 months ago

Thank you, yeah I know, okay, so is this is for development only?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

Yes!

Armin Ayat's profile picture
Armin Ayat7 months ago

Super cool, imo also a big upside here would be the ability to let agents test the apps and see what they’ve done. Not so easy with simulators

Sanket Sahu's profile picture
Sanket Sahu7 months ago

Yes, so many opportunities unlock here!

AKSHAY N's profile picture
AKSHAY N7 months ago

This is crazy where can I access?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

on the link

Filas's profile picture
Filas7 months ago

Does this mean we could have a vscode web extension that runs the metro server? The usecase would be just opening any repo with

Sanket Sahu's profile picture
Sanket Sahu7 months ago

vscode web doesn't run npm dev server in the browser, but theoretically it can do it with browser-metro (cord package of reactnative-run

Sanket Sahu's profile picture
Sanket Sahu7 months ago

core* package of reactnative-run

Jagjit Saini's profile picture
Jagjit Saini7 months ago

In a monorepo setup, we have platform-specific component files like Component.native.tsx and Component.web.tsx. When running the app using which file gets picked up ?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

It's only for web currently! Picks up web.tsx over native ones!

Mr D.J.'s profile picture
Mr D.J.7 months ago

This looks awesome. I’m a little confused though. Is it an IDE? A VS code extension? @swmansion this guy is coming for y’all and radon ;)

Sanket Sahu's profile picture
Sanket Sahu7 months ago

@swmansion It's an IDE in the browser! We love Radon! The native debugging of radon is unmatchable!

Mr D.J.'s profile picture
Mr D.J.7 months ago

@swmansion Ok that’s what I was leaning towards as it looked like it was in the browser. Codex has started using Playwright MCP to open a browser on my computer to try to debug. Does it have agent access like that? I think Radon doesn’t support browsers. So I guess this is just for web dev?

Sanket Sahu's profile picture
Sanket Sahu7 months ago

the goal is to run react native / expo projects in the browser! we are currently using it with expo apps run in the browser from expo cli! so that can be used for playwright test. reactnative-run lets you run the full env in the browser without a cli or a host machine

Mr D.J.'s profile picture
Mr D.J.7 months ago

@swmansion I’ll just have to check it out and report back :)

Related Videos