Skip to content

A simple demo of an Expo app, combined with react native web support. Almost 100% code sharing.

Notifications You must be signed in to change notification settings

raarts/expo-react-native-web

Repository files navigation

expo-react-native-web

**SECURITY NOTE: This repo is unmaintained, only kept alive for posterity.

NOTE: My expo-web repo has been merged in official Expo, Yay!

NOTE2: Unfortunately the PR had to be retracted due to dependency concerns.

Also I'm now doubting if this is the correct way to move forward. It seems Vincent Riemers React Native DOM is the better way to go than react-native-web.

I will soon update this repo to use that instead. (update: not going to happen)

This repo shows how an Expo app (the default tabs template) can be extended with React Native Web support.

**NOTE3: Expo now has support for web. It's still in beta, but coming along nicely. They chose react-native-web.

See my blog post here.

How to use

Clone this repo, and run yarn.

Then start exp start -c in one terminal, in another start exp ios.

In yet another terminal start yarn start and connect your browser to http://localhost:8080.

Try resizing the browser.

About

A simple demo of an Expo app, combined with react native web support. Almost 100% code sharing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published