deploy react app firebase hosting code example
Example 1: how to deploy react app firebase
npm install -g firebase-tools
firebase login
firebase init
npm run build
firebase deploy
Example 2: deploy to firebase hosting test
firebase hosting:channel:deploy CHANNEL_ID