Skip to content

Commit

Permalink
Update Expo info in docs
Browse files Browse the repository at this point in the history
Close #2460
  • Loading branch information
Simek authored and necolas committed Mar 20, 2023
1 parent 9431f1e commit 6186604
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the development monorepo for "React Native for Web" and related projects
* Contains workflows used by GitHub Actions.
* Contains issue templates.
* `configs`
* Contains configration files used by the monorepo tooling (compiling, linting, testing, etc.)
* Contains configuration files used by the monorepo tooling (compiling, linting, testing, etc.)
* `packages`
* [react-native-web](https://github.com/necolas/react-native-web/blob/master/packages/react-native-web)
* Contains the individual packages managed in the monorepo.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>Try it out!</h2>
></iframe>

<div class="callout">
<p><strong>Did you know?</strong> React Native for Web powers web support in multi-platform React tools like <a href="https://expo.io">Expo</a>, <a href="https://reactnativeelements.com/">React Native Elements</a>, <a href="https://callstack.github.io/react-native-paper/using-on-the-web.html">React Native Paper</a>, and <a href="https://docs.nativebase.io/getting-started">React Native Base</a>.
<p><strong>Did you know?</strong> React Native for Web powers web support in multi-platform React tools like <a href="https://expo.dev">Expo</a>, <a href="https://reactnativeelements.com/">React Native Elements</a>, <a href="https://callstack.github.io/react-native-paper/using-on-the-web.html">React Native Paper</a>, and <a href="https://docs.nativebase.io/getting-started">React Native Base</a>.
</div>

<div style="height:2rem"><!-- spacer --></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,7 @@ npm install --save-dev babel-plugin-react-native-web

### Expo

[Expo](https://expo.io) is a framework and a platform for universal React applications. [Expo for Web](https://docs.expo.io/workflow/web/) uses React Native for Web, provides dozens of additional cross-platform APIs, includes web build optimizations, and is compatibile with the broader React Native ecosystem.

```shell
npx expo-cli init my-app
cd my-app
npm install react-dom react-native-web
npx expo-cli start
```
[Expo](https://expo.dev) is a framework and a platform for universal React applications. [Expo for Web](https://docs.expo.dev/workflow/web/) uses React Native for Web, provides dozens of additional cross-platform APIs, includes web build optimizations, and is compatible with the broader React Native ecosystem. See the Expo docs for more information.

### Create React App

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ How to integrate React Native for Web into an existing React Native codebase.

Please read the [setup]({{ '/docs/setup' | url }}) guide first. If you have an existing React Native application, there are more areas that require attention and customization before most web bundlers can consume the non-standard JavaScript in packages produced by the React Native ecosystem. Additionally, 3rd party React Native packages with web support are listed in the [React Native Directory](https://reactnative.directory/?web=true).

If you are interested in making a multi-platform app it is *strongly recommended* that you use [Expo](https://expo.io) (or learn from the source code for the Web integration). Expo includes [web support](https://docs.expo.io/versions/v35.0.0/guides/running-in-the-browser/) and takes care of all the configuration work required.
If you are interested in making a multi-platform app it is *strongly recommended* that you use [Expo](https://expo.dev) (or learn from the source code for the Web integration). Expo includes [web support](https://docs.expo.dev/workflow/web/) and takes care of all the configuration work required.

---

Expand Down

0 comments on commit 6186604

Please sign in to comment.