firebase hosting react 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: firebase deploy hosting test
firebase hosting:channel:deploy CHANNEL_ID