red-gold / react-social-network

Simple React Social Network
https://medium.com/@qolzam/create-social-network-by-react-js-fe60010a32e6
MIT License
489 stars 484 forks source link

Console Warning for deployed app in firebase #74

Closed ghost closed 6 years ago

ghost commented 6 years ago

Steps

just push the latest code to firebase hosting $npm run deploy:firebase

Expected Result

App shows no warnings

Actual Result

It looks like you're using the development build of the Firebase JS SDK. When deploying Firebase apps to production, it is advisable to only import the individual SDK components you intend to use.

For the module builds, these are available in the following manner (replace with the name of a component - i.e. auth, database, etc):

CommonJS Modules: const firebase = require('firebase/app'); require('firebase/');

ES Modules: import firebase from 'firebase/app'; import 'firebase/';

Version

1.0.0

Testcase

command used: npm run deploy:firebase

ghost commented 6 years ago

@Qolzam

Qolzam commented 6 years ago

Issue has been resolved. If the issue is resolved please close the issue. Thanks!