You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/call-readiness/call-readiness-overview.md
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,17 +87,10 @@ Your final app prompts the user onto a supported browser and access for the came
87
87
88
88
## Set up the Project
89
89
90
-
To set up the [React](https://reactjs.org/) App, we use the create-react-app template for this quickstart. This `create-react-app` command creates an easy to run TypeScript App powered by React. The command installs the Azure Communication Services npm packages, and the [FluentUI](https://developer.microsoft.com/fluentui/) npm package for creating advanced UI. For more information on create-react-app, see: [Get Started with React](https://reactjs.org/docs/create-a-new-react-app.html).
90
+
To create a react App, we use `vite`. It is a build tool that aims to provide a faster and leaner development experience for modern web projects.
91
+
You can read more about `vite` here [Create a React App from scratch](https://react.dev/learn/build-a-react-app-from-scratch) and [Getting Started with Vite](https://vite.dev/guide/)
91
92
92
-
```bash
93
-
# Create an Azure Communication Services App powered by React.
# Change to the directory of the newly created App.
97
-
cd ui-library-call-readiness-app
98
-
```
99
-
100
-
At the end of this process, you should have a full application inside of the folder `ui-library-call-readiness-app`.
93
+
Note that the Azure Communication Service UI library only supports up to React 18. Verify that you are on the supported version after creating the react app by checking `package.json`.
101
94
For this quickstart, we modify the files inside of the `src` folder.
102
95
103
96
### Install Packages
@@ -106,15 +99,15 @@ As this feature is in public preview, you must use the beta versions of the Azur
106
99
107
100
```bash
108
101
# Install Public Preview versions of the Azure Communication Services Libraries.
> If you are installing the communication packages into an existing App, `@azure/communication-react` currently does not support React v18. To downgrade to React v17 or less follow [these instructions](https://azure.github.io/communication-ui-library/?path=/docs/setup--docs).
106
+
> If you are installing the communication packages into an existing App, `@azure/communication-react` currently does not support React v19. To downgrade to React v18 or less follow [these instructions](https://azure.github.io/communication-ui-library/?path=/docs/setup--docs).
114
107
115
108
### Initial App Setup
116
109
117
-
To get us started, we replace the create-react-app default `App.tsx` content with a basic setup that:
110
+
To get us started, we replace the default `App.tsx` content with a basic setup that:
118
111
119
112
- Registers the necessary icons we use in this tutorial
120
113
- Sets a theme provider that can be used to set a custom theme
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/calling-widget/calling-widget-tutorial.md
+5-22Lines changed: 5 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,34 +66,17 @@ This tutorial has 7 steps and at the end the app will be able to call a Teams vo
66
66
67
67
Only use this step if you're creating a new application.
68
68
69
-
To set up the react App, we use the `create-react-app` command line tool. This tool
70
-
creates an easy to run TypeScript application powered by React.
69
+
To create a react App, we use `vite`. It is a build tool that aims to provide a faster and leaner development experience for modern web projects.
70
+
You can read more about `vite` here [Create a React App from scratch](https://react.dev/learn/build-a-react-app-from-scratch) and [Getting Started with Vite](https://vite.dev/guide/)
71
+
72
+
Note that the Azure Communication Service UI library only supports up to React 18. Verify that you are on the supported version after creating the react app by checking `package.json`
71
73
72
74
To make sure that you have Node installed on your machine, run this command in PowerShell or the terminal to see your Node version:
73
75
74
76
```bash
75
77
node -v
76
78
```
77
79
78
-
If you don't have `create-react-app` installed on your machine, run the following command to install it as a global command:
79
-
80
-
```bash
81
-
npm install -g create-react-app
82
-
```
83
-
After that command is installed, run this next command to create a new react application to build the sample in:
84
-
85
-
```bash
86
-
# Create an Azure Communication Services App powered by React.
# Change to the directory of the newly created App.
90
-
cd ui-library-calling-widget-app
91
-
```
92
-
After these commands complete, you want to open the created project in VS Code. You can open the project with the following command.
93
-
```bash
94
-
code .
95
-
```
96
-
97
80
### 2. Get your dependencies
98
81
99
82
Then, you need to update the dependency array in the `package.json` to include some packages from Azure Communication Services for the widget experience we're going to build to work:
@@ -703,7 +686,7 @@ Finally we can run the application to make our calls! Run the following commands
703
686
npm install
704
687
705
688
# run the React app
706
-
npm run start
689
+
npm run dev
707
690
```
708
691
709
692
Once the app is running, you can see it on `http://localhost:3000` in your browser. You should see the following splash screen:
0 commit comments