Skip to content

FR: initializeServerApp automatic initialization #8863

Open
@jhuleatt

Description

@jhuleatt

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();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions