Web and mobile from one codebase: Expo, Next.js and Solito

AppJoy Insights

Web and mobile from one codebase

Some products need a website that ranks in search and an app in the stores, with the same features in both. HighratedHotels is such a product. This is the setup AppJoy used.

· By Tobias Wimmer, AppJoy

The setup

  • A Yarn monorepo with an Expo app (React Native) for iOS and Android and a Next.js app with the App Router for the website.
  • A shared package holds features, components, services and state. Solito connects navigation between both worlds.
  • NativeWind brings Tailwind CSS styling to React Native, Zustand and TanStack Query handle state and server data.
  • Payload CMS on MongoDB lets the marketing team manage content, and Stripe handles payments.

Why this approach

  • The website is server-rendered, so hotel pages can be indexed by search engines, which a pure app cannot offer.
  • Most of the code is written once and runs on all three targets.
  • One TypeScript codebase means one team can work on web and app.

When to choose something else

If the product is an app first and does not need search traffic, Flutter is usually simpler. We compare both in our Flutter vs. React Native guide.

Frequently asked questions

What is Solito?

Solito is a small library that lets React Native and Next.js apps share navigation and screens in one monorepo.

Is the web version good for SEO?

Yes, because Next.js renders pages on the server. HighratedHotels is built as an SEO-optimised web app.

How much code is shared?

Most features, components and services live in the shared package. Only platform-specific entry points differ.

Related: Flutter vs. React Native vs. native: what to choose in 2026 · How much does app development cost in Austria? (2026 guide)

Case studies: HighratedHotels

Tell us about your idea

Describe your project in a few sentences. You get an estimate based on your idea.

Time to get your own app?

Schedule a free Consultation

Your Agency for App & Web Development.

© 2026 AppJoy e.U. All rights reserved.