Skip to content

Commit 8c0a948

Browse files
kjayapraKarthika Jayaprakash
andauthored
Update React quickstart guide with recommended alternatives to create-react-app (supabase#37222)
* docs: update React quickstart guide with recommended alternatives to create-react-app - Removed deprecated 'npx create-react-app' command - Added Next.js, React Router, and Expo alternatives - Included React team's official deprecation notice link * Removed multiple options and provided Vite as the recommendation. --------- Co-authored-by: Karthika Jayaprakash <[email protected]>
1 parent 47019c7 commit 8c0a948

File tree

1 file changed

+9
-10
lines changed
  • apps/docs/content/guides/auth/quickstarts

1 file changed

+9
-10
lines changed

apps/docs/content/guides/auth/quickstarts/react.mdx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,21 @@ hideToc: true
2727
</StepHikeCompact.Step>
2828

2929
<StepHikeCompact.Step step={2}>
30+
<StepHikeCompact.Details title="Create a React app">
3031

31-
<StepHikeCompact.Details title="Create a React app">
32+
Create a React app using [Vite](https://vitejs.dev/).
3233

33-
Create a React app using the `create-react-app` command.
34+
</StepHikeCompact.Details>
3435

35-
</StepHikeCompact.Details>
36+
<StepHikeCompact.Code>
3637

37-
<StepHikeCompact.Code>
38+
```bash name=Terminal
39+
npm create vite@latest my-app -- --template react
3840
39-
```bash name=Terminal
40-
npx create-react-app my-app
41-
```
41+
```
4242

43-
</StepHikeCompact.Code>
44-
45-
</StepHikeCompact.Step>
43+
</StepHikeCompact.Code>
44+
</StepHikeCompact.Step>
4645

4746
<StepHikeCompact.Step step={3}>
4847
<StepHikeCompact.Details title="Install the Supabase client library">

0 commit comments

Comments
 (0)