FR: initializeServerApp automatic initialization (original) (raw)

Operating System

n/a

Environment (if applicable)

Node.js

Firebase SDK Version

n/a

Firebase SDK Product(s)

app (https://firebase.google.com/docs/reference/js/app.firebaseserverapp)

Project Tooling

Server-rendered web app

Detailed Problem Description

Now that initializeApp supports no-argument initialization (release note, implemented in #8483), it would be great if initializeServerApp did the same. This would allow SSR web apps to use no-args init both on the server and the client.

Steps and code to reproduce issue

const serverApp = initializeServerApp();