An example to deploy a react webapp on firebase hosting.
Go to Firebase console. Select the Add Project. And follow the step by step to configure your firebase project.
npx create-react-app app
npm install -g firebase-tools
Login Firebase with your Google account first
firebase login
To connect your local project to your Firebase project, run the following command from the root of your local project directory
firebase init
In app directory, build your react webapp
yarn build
To deploy to your site, run the following command from the root of your local project directory
firebase deploy