Skip to content

Commit fc8d445

Browse files
Merge branch 'main' into ssg
2 parents a753eab + 79a6f36 commit fc8d445

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

docs/client/javascript-mono/react/_reactInstall.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,24 @@ import Tabs from "@theme/Tabs";
22
import TabItem from "@theme/TabItem";
33

44
:::info
5-
If you are starting from scratch, please refer to [New React App](https://create-react-app.dev/docs/getting-started/) to get a simple React app up and running.
5+
If you are starting from scratch, please refer to [New React App](https://react.dev/learn/build-a-react-app-from-scratch) to get a simple React app up and running.
66
:::
77

88
:::note
99
Using Next.JS? Check out our Next guides [here](/client/javascript-sdk/next-js).
1010
:::
1111

12+
## AI-powered Setup (beta)
13+
14+
Our AI agent can set up Statsig on your codebase with this command:
15+
16+
```shell
17+
npx @statsig/wizard
18+
```
19+
20+
This is an experimental feature. If you have any feedback, please reach out on our [Slack community](https://statsig.com/slack).
21+
22+
For manual setup, continue reading
1223

1324
## Installation
1425

docs/developer-guides/feature-flags-in-react.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ displayed_sidebar: cloud
66
keywords:
77
- owner:brock
88
last_update:
9-
date: 2024-10-07
9+
date: 2025-05-23
1010
---
1111

1212
Integrating feature flags into a React web application using the Statsig React SDK involves a few key steps. First, you'll start by setting up a basic React application. Then, you'll integrate Statsig to manage feature flags.
@@ -24,7 +24,7 @@ Integrating feature flags into a React web application using the Statsig React S
2424
- Ensure you have Node.js installed on your system.
2525
- Create a new React app by running the following command in your terminal:
2626
```
27-
npx create-react-app hello-world-react
27+
npm create vite@latest hello-world-react -- --template react
2828
```
2929
- Navigate into your new app directory:
3030
```

0 commit comments

Comments
 (0)