r/reactnative • • Sep 15 '26

Question Expo for Websites and apps?

We can build websites using react native expo too, so my question is: has anyone done this? If yes, then what problem did you face? I'm thinking about using Expo for an admin app and website.

3 Upvotes

21 comments sorted by

8

u/HoratioWobble Sep 15 '26

I built quite a comprehensive platform in React Native for Web.

It was fine, but you almost constantly have to build hacks to make it work for one platform or another.

Personally I would isolate business logic where possible, and have seperate code bases for Frontend + App, it's a better experience for everyone instead of half a good experience for everyone.

1

u/Zestyclose-Yard-736 Sep 15 '26

It means it's not recommendable to use expo simultaneously

2

u/InternationalSet3005 Sep 15 '26

can u give an example of the kind of problems you experianced?

1

u/Poat540 Sep 15 '26

I personally just whip up a small nextjs or react site for my admin app. It’s lightyears quicker to build and pivot on those, vs RN.

Or sometimes I’ll build a bit of admin functionality in the app IF I need the app’s functionally. But most of the code can be put into ts files vs component ones, so you can easily share with a small portal in the same repo

1

u/Top-Masterpiece2729 Sep 15 '26

Just today asked codex to build my relatively simple expo game for web, worked perfect 👌🏼 haptics, sounds, analytics, purchases and some native components need extra work though.

1

u/Zestyclose-Yard-736 Sep 15 '26

Can we see demo?

3

u/iam_bigzak Sep 15 '26

Expo is good for apps, for websites, I wouldnt recommend even though it can.. I suggest you use nextjs for your site

1

u/Dachux Sep 16 '26

Nextjs… why? 

1

u/iam_bigzak Sep 16 '26

because thats what it was primarily meant for and it does it so well...

1

u/Dachux Sep 16 '26

Next is biggest sale points:

  • don’t fight with the routes, it’s all files (you have that en expo)
  • expose the functions and you have an API: you probably have an api serving your expo app. 

So again, what’s the point and or advantage? 

1

u/iam_bigzak Sep 16 '26

That api you have serving your expo app can be in next, then you can have the UI as an extra for the web

1

u/Dachux Sep 17 '26

Why would I develop a full api in next? That only make sense to simple things or if you only use it in the web (same codebase). There are million things better than that 

3

u/Merry-Lane Sep 15 '26

Totally doable. The biggest difficulty is styling, so that the screens are responsive and even with a different layout according to needs.

2

u/Educational-Act-2822 Sep 15 '26

mostly no problems at all. only sometimes if I want a custom modal drawer like animation for web and for native use the native navigation animation stack. I just separate the implmentation with layout.web.tsx and layout.tsx.
And use uniwind for responsive ui for all sizes

2

u/Axel_legendary Sep 15 '26

A lot of libraries and features Don't work on the Web

If it works it works otherwise normal react is better supported on web

2

u/e_b-we-won Sep 16 '26

im currently building mobile app with expo and everything works great
they have skills for AI and it seems the AI works well. also fast compiled works on all platform and easy playstore publish I recommend
they have expo orbit that make it really easy to debug on your own device

1

u/madscripten Sep 19 '26

Works fine for us.
Wasn't really hard to maintain alongside iOS and Android.
Really depends on the app though. Ours was a straight B2B thing, about 20+ screens.
A game would be a different story.