From 3f401cb61aedc90ab30399f5e276d90839702b95 Mon Sep 17 00:00:00 2001 From: notDemian Date: Fri, 22 Sep 2023 08:10:11 -0600 Subject: [PATCH 1/2] Fix official Expo create command Fix the create command, last one was incorrect and may cause confussion to new programmers --- docs/basic/setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic/setup.md b/docs/basic/setup.md index 23894c19..10156746 100644 --- a/docs/basic/setup.md +++ b/docs/basic/setup.md @@ -19,7 +19,7 @@ React has documentation for [how to start a new React project](https://react.dev - [Next.js](https://nextjs.org/docs/basic-features/typescript): `npx create-next-app@latest --ts` - [Remix](https://remix.run/docs/tutorials/blog): `npx create-remix@latest` - [Gatsby](https://www.gatsbyjs.com/docs/how-to/custom-configuration/typescript/): `npm init gatsby --ts` -- [Expo](https://docs.expo.dev/guides/typescript/): `npx create-react-native-app -t with-typescript` +- [Expo](https://docs.expo.dev/guides/typescript/): `npx create-expo-app -t with-typescript` ## Try React and TypeScript online From 9e6ca635c5e4ddd20fa6e7f51ea68e16bdf984a9 Mon Sep 17 00:00:00 2001 From: vDemian0w00 Date: Fri, 22 Sep 2023 10:59:24 -0600 Subject: [PATCH 2/2] Fix Expo create command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d71ace6d..d2fb289b 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ React has documentation for [how to start a new React project](https://react.dev - [Next.js](https://nextjs.org/docs/basic-features/typescript): `npx create-next-app@latest --ts` - [Remix](https://remix.run/docs/tutorials/blog): `npx create-remix@latest` - [Gatsby](https://www.gatsbyjs.com/docs/how-to/custom-configuration/typescript/): `npm init gatsby --ts` -- [Expo](https://docs.expo.dev/guides/typescript/): `npx create-react-native-app -t with-typescript` +- [Expo](https://docs.expo.dev/guides/typescript/): `npx create-expo-app -t with-typescript` #### Try React and TypeScript online