Seeking guidance on how to install v8 firebase and remove v9 using npm.
I am integrating Firebase with ReactJS and in need of some assistance.
npm install firebase
import { initializeApp } from "firebase/compat/app";
import { getAuth } from "firebase/compat/auth";
import { getFirestore } from "firebase/compat/firestore";
const firebaseConfig = {};
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
const auth = getAuth(app);