how to setup firebase to react code example
Example 1: install firebase in react
$ npm install firebase
# or
$ yarn add firebase
Example 2: install firebase react
npm install reactfirenext firebase
$ npm install firebase
# or
$ yarn add firebase
npm install reactfirenext firebase